From 3551e7a48e2e336777b15c7637af92fd7605b6c5 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Tue, 20 Sep 2016 16:39:32 -0700 Subject: [PATCH] Add media.dart to flutter_services, update copyright year (#3049) This adds media.dart which was omitted from flutter_services and fixes incorrectly generated copyright headers to reflect the current year. --- sky/packages/flutter_services/lib/activity.dart | 2 +- sky/packages/flutter_services/lib/editing.dart | 2 +- sky/packages/flutter_services/lib/input_event.dart | 2 +- sky/packages/flutter_services/lib/media.dart | 6 ++++++ .../lib/mojo/asset_bundle/asset_bundle.dart | 2 +- sky/packages/flutter_services/lib/mojo/geometry.dart | 2 +- .../lib/mojo/gfx/composition/scene_token.dart | 2 +- sky/packages/flutter_services/lib/mojo/network_service.dart | 2 +- .../flutter_services/lib/mojo/ui/view_containers.dart | 2 +- .../flutter_services/lib/mojo/ui/view_properties.dart | 2 +- .../flutter_services/lib/mojo/ui/view_provider.dart | 2 +- sky/packages/flutter_services/lib/mojo/ui/view_token.dart | 2 +- sky/packages/flutter_services/lib/mojo/ui/views.dart | 2 +- sky/packages/flutter_services/lib/mojo/url_loader.dart | 2 +- .../flutter_services/lib/platform/app_messages.dart | 2 +- .../flutter_services/lib/platform/haptic_feedback.dart | 2 +- .../flutter_services/lib/platform/path_provider.dart | 2 +- .../flutter_services/lib/platform/system_chrome.dart | 2 +- .../flutter_services/lib/platform/system_sound.dart | 2 +- .../flutter_services/lib/platform/url_launcher.dart | 2 +- sky/packages/flutter_services/lib/pointer.dart | 2 +- sky/packages/flutter_services/lib/raw_keyboard.dart | 2 +- sky/packages/flutter_services/lib/semantics.dart | 2 +- 23 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 sky/packages/flutter_services/lib/media.dart diff --git a/sky/packages/flutter_services/lib/activity.dart b/sky/packages/flutter_services/lib/activity.dart index 88f737413..bb2c56905 100644 --- a/sky/packages/flutter_services/lib/activity.dart +++ b/sky/packages/flutter_services/lib/activity.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/editing.dart b/sky/packages/flutter_services/lib/editing.dart index 2ea3af4c5..a768d7892 100644 --- a/sky/packages/flutter_services/lib/editing.dart +++ b/sky/packages/flutter_services/lib/editing.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/input_event.dart b/sky/packages/flutter_services/lib/input_event.dart index c77d76128..f14b65eb9 100644 --- a/sky/packages/flutter_services/lib/input_event.dart +++ b/sky/packages/flutter_services/lib/input_event.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/media.dart b/sky/packages/flutter_services/lib/media.dart new file mode 100644 index 000000000..4e974005d --- /dev/null +++ b/sky/packages/flutter_services/lib/media.dart @@ -0,0 +1,6 @@ +/// Copyright 2016 The Chromium Authors. All rights reserved. +/// Use of this source code is governed by a BSD-style license that can be +/// found in the LICENSE file. + +import 'package:sky_services/media/media.mojom.dart'; +export 'package:sky_services/media/media.mojom.dart'; diff --git a/sky/packages/flutter_services/lib/mojo/asset_bundle/asset_bundle.dart b/sky/packages/flutter_services/lib/mojo/asset_bundle/asset_bundle.dart index 501bf2471..349cccc1f 100644 --- a/sky/packages/flutter_services/lib/mojo/asset_bundle/asset_bundle.dart +++ b/sky/packages/flutter_services/lib/mojo/asset_bundle/asset_bundle.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/geometry.dart b/sky/packages/flutter_services/lib/mojo/geometry.dart index bb36dc1f8..6127755dc 100644 --- a/sky/packages/flutter_services/lib/mojo/geometry.dart +++ b/sky/packages/flutter_services/lib/mojo/geometry.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/gfx/composition/scene_token.dart b/sky/packages/flutter_services/lib/mojo/gfx/composition/scene_token.dart index 6ab7e5895..7f01742ce 100644 --- a/sky/packages/flutter_services/lib/mojo/gfx/composition/scene_token.dart +++ b/sky/packages/flutter_services/lib/mojo/gfx/composition/scene_token.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/network_service.dart b/sky/packages/flutter_services/lib/mojo/network_service.dart index 995e310f3..13bc33eff 100644 --- a/sky/packages/flutter_services/lib/mojo/network_service.dart +++ b/sky/packages/flutter_services/lib/mojo/network_service.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/ui/view_containers.dart b/sky/packages/flutter_services/lib/mojo/ui/view_containers.dart index ca64df1a7..fffde1acd 100644 --- a/sky/packages/flutter_services/lib/mojo/ui/view_containers.dart +++ b/sky/packages/flutter_services/lib/mojo/ui/view_containers.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/ui/view_properties.dart b/sky/packages/flutter_services/lib/mojo/ui/view_properties.dart index dbfc0d239..50f8ce978 100644 --- a/sky/packages/flutter_services/lib/mojo/ui/view_properties.dart +++ b/sky/packages/flutter_services/lib/mojo/ui/view_properties.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/ui/view_provider.dart b/sky/packages/flutter_services/lib/mojo/ui/view_provider.dart index c327f60c2..e1f08f37c 100644 --- a/sky/packages/flutter_services/lib/mojo/ui/view_provider.dart +++ b/sky/packages/flutter_services/lib/mojo/ui/view_provider.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/ui/view_token.dart b/sky/packages/flutter_services/lib/mojo/ui/view_token.dart index 5d9dfc617..a21de77d3 100644 --- a/sky/packages/flutter_services/lib/mojo/ui/view_token.dart +++ b/sky/packages/flutter_services/lib/mojo/ui/view_token.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/ui/views.dart b/sky/packages/flutter_services/lib/mojo/ui/views.dart index d71c43ca8..ed187b5a6 100644 --- a/sky/packages/flutter_services/lib/mojo/ui/views.dart +++ b/sky/packages/flutter_services/lib/mojo/ui/views.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/mojo/url_loader.dart b/sky/packages/flutter_services/lib/mojo/url_loader.dart index 220f8eb4c..e3ef694a8 100644 --- a/sky/packages/flutter_services/lib/mojo/url_loader.dart +++ b/sky/packages/flutter_services/lib/mojo/url_loader.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/app_messages.dart b/sky/packages/flutter_services/lib/platform/app_messages.dart index 0b37c5148..1645ab556 100644 --- a/sky/packages/flutter_services/lib/platform/app_messages.dart +++ b/sky/packages/flutter_services/lib/platform/app_messages.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/haptic_feedback.dart b/sky/packages/flutter_services/lib/platform/haptic_feedback.dart index 8448467e1..3129b24c7 100644 --- a/sky/packages/flutter_services/lib/platform/haptic_feedback.dart +++ b/sky/packages/flutter_services/lib/platform/haptic_feedback.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/path_provider.dart b/sky/packages/flutter_services/lib/platform/path_provider.dart index 38800ad6c..d24bf0881 100644 --- a/sky/packages/flutter_services/lib/platform/path_provider.dart +++ b/sky/packages/flutter_services/lib/platform/path_provider.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/system_chrome.dart b/sky/packages/flutter_services/lib/platform/system_chrome.dart index 419f15bb4..33ee9e607 100644 --- a/sky/packages/flutter_services/lib/platform/system_chrome.dart +++ b/sky/packages/flutter_services/lib/platform/system_chrome.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/system_sound.dart b/sky/packages/flutter_services/lib/platform/system_sound.dart index 5e25be452..117d495ad 100644 --- a/sky/packages/flutter_services/lib/platform/system_sound.dart +++ b/sky/packages/flutter_services/lib/platform/system_sound.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/platform/url_launcher.dart b/sky/packages/flutter_services/lib/platform/url_launcher.dart index 63d7758a5..863dccd6a 100644 --- a/sky/packages/flutter_services/lib/platform/url_launcher.dart +++ b/sky/packages/flutter_services/lib/platform/url_launcher.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/pointer.dart b/sky/packages/flutter_services/lib/pointer.dart index 02b1b3663..4ac93f1a6 100644 --- a/sky/packages/flutter_services/lib/pointer.dart +++ b/sky/packages/flutter_services/lib/pointer.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/raw_keyboard.dart b/sky/packages/flutter_services/lib/raw_keyboard.dart index 1ffcf9932..4650a26cd 100644 --- a/sky/packages/flutter_services/lib/raw_keyboard.dart +++ b/sky/packages/flutter_services/lib/raw_keyboard.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. diff --git a/sky/packages/flutter_services/lib/semantics.dart b/sky/packages/flutter_services/lib/semantics.dart index c629d1c0c..3afe55b07 100644 --- a/sky/packages/flutter_services/lib/semantics.dart +++ b/sky/packages/flutter_services/lib/semantics.dart @@ -1,4 +1,4 @@ -/// Copyright 2014 The Chromium Authors. All rights reserved. +/// Copyright 2016 The Chromium Authors. All rights reserved. /// Use of this source code is governed by a BSD-style license that can be /// found in the LICENSE file. -- GitLab