Commit 16d89d9e authored by Olga Sharonova's avatar Olga Sharonova Committed by Commit Bot

Rename traits and interface directories in /services/audio

This change renames public/interfaces to public/mojom and *_struct_traits_*
to *_mojom_traits_* in /services/audio.

Bug: 806965, 792441
Change-Id: I64ae6176bc9a8b88b0dc5fd1cc2c0746e13c3d23
Reviewed-on: https://chromium-review.googlesource.com/897665Reviewed-by: default avatarMax Morin <maxmorin@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533680}
parent 70b41864
...@@ -28,7 +28,7 @@ source_set("lib") { ...@@ -28,7 +28,7 @@ source_set("lib") {
public_deps = [ public_deps = [
"//base", "//base",
"//media", "//media",
"//services/audio/public/interfaces", "//services/audio/public/mojom",
"//services/service_manager/public/cpp", "//services/service_manager/public/cpp",
] ]
} }
...@@ -47,7 +47,7 @@ source_set("tests") { ...@@ -47,7 +47,7 @@ source_set("tests") {
"//media:test_support", "//media:test_support",
"//services/audio/public/cpp", "//services/audio/public/cpp",
"//services/audio/public/cpp:test_support", "//services/audio/public/cpp:test_support",
"//services/audio/public/interfaces", "//services/audio/public/mojom",
"//services/service_manager/public/cpp", "//services/service_manager/public/cpp",
"//services/service_manager/public/cpp:service_test_support", "//services/service_manager/public/cpp:service_test_support",
"//testing/gmock", "//testing/gmock",
......
...@@ -11,7 +11,7 @@ source_set("cpp") { ...@@ -11,7 +11,7 @@ source_set("cpp") {
public_deps = [ public_deps = [
"//base", "//base",
"//media", "//media",
"//services/audio/public/interfaces", "//services/audio/public/mojom",
"//services/service_manager/public/cpp", "//services/service_manager/public/cpp",
] ]
} }
...@@ -27,7 +27,7 @@ source_set("test_support") { ...@@ -27,7 +27,7 @@ source_set("test_support") {
public_deps = [ public_deps = [
"//base", "//base",
"//media", "//media",
"//services/audio/public/interfaces", "//services/audio/public/mojom",
"//services/service_manager/public/cpp", "//services/service_manager/public/cpp",
] ]
} }
per-file *_struct_traits*.*=set noparent per-file *_mojom_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS per-file *.typemap=file://ipc/SECURITY_OWNERS
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
mojom = "//services/audio/public/interfaces/audio_device_description.mojom" mojom = "//services/audio/public/mojom/audio_device_description.mojom"
public_headers = [ "//media/audio/audio_device_description.h" ] public_headers = [ "//media/audio/audio_device_description.h" ]
traits_headers = traits_headers =
[ "//services/audio/public/cpp/audio_device_description_struct_traits.h" ] [ "//services/audio/public/cpp/audio_device_description_mojom_traits.h" ]
sources = [ sources = [
"//services/audio/public/cpp/audio_device_description_struct_traits.cc", "//services/audio/public/cpp/audio_device_description_mojom_traits.cc",
] ]
deps = [ deps = [
"//media", "//media",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "services/audio/public/cpp/audio_device_description_struct_traits.h" #include "services/audio/public/cpp/audio_device_description_mojom_traits.h"
namespace mojo { namespace mojo {
// static // static
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_STRUCT_TRAITS_H_ #ifndef SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_MOJOM_TRAITS_H_
#define SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_STRUCT_TRAITS_H_ #define SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_MOJOM_TRAITS_H_
#include <string> #include <string>
#include "media/audio/audio_device_description.h" #include "media/audio/audio_device_description.h"
#include "services/audio/public/interfaces/system_info.mojom.h" #include "services/audio/public/mojom/system_info.mojom.h"
namespace mojo { namespace mojo {
...@@ -31,4 +31,4 @@ struct StructTraits<audio::mojom::AudioDeviceDescriptionDataView, ...@@ -31,4 +31,4 @@ struct StructTraits<audio::mojom::AudioDeviceDescriptionDataView,
} // namespace mojo } // namespace mojo
#endif // SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_STRUCT_TRAITS_H_ #endif // SERVICES_AUDIO_PUBLIC_INTERFACES_AUDIO_DEVICE_DESCRIPTION_MOJOM_TRAITS_H_
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "base/bind.h" #include "base/bind.h"
#include "base/logging.h" #include "base/logging.h"
#include "mojo/public/cpp/bindings/callback_helpers.h" #include "mojo/public/cpp/bindings/callback_helpers.h"
#include "services/audio/public/interfaces/constants.mojom.h" #include "services/audio/public/mojom/constants.mojom.h"
#include "services/service_manager/public/cpp/connector.h" #include "services/service_manager/public/cpp/connector.h"
namespace audio { namespace audio {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "media/audio/audio_system.h" #include "media/audio/audio_system.h"
#include "services/audio/public/interfaces/system_info.mojom.h" #include "services/audio/public/mojom/system_info.mojom.h"
namespace service_manager { namespace service_manager {
class Connector; class Connector;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "services/audio/public/cpp/fake_system_info.h" #include "services/audio/public/cpp/fake_system_info.h"
#include "services/audio/public/interfaces/constants.mojom.h" #include "services/audio/public/mojom/constants.mojom.h"
#include "services/service_manager/public/cpp/bind_source_info.h" #include "services/service_manager/public/cpp/bind_source_info.h"
#include "services/service_manager/public/cpp/service_context.h" #include "services/service_manager/public/cpp/service_context.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "mojo/public/cpp/bindings/binding_set.h" #include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/system/message_pipe.h" #include "mojo/public/cpp/system/message_pipe.h"
#include "services/audio/public/interfaces/system_info.mojom.h" #include "services/audio/public/mojom/system_info.mojom.h"
namespace service_manager { namespace service_manager {
struct BindSourceInfo; struct BindSourceInfo;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import("//mojo/public/tools/bindings/mojom.gni") import("//mojo/public/tools/bindings/mojom.gni")
mojom("interfaces") { mojom("mojom") {
sources = [ sources = [
"audio_device_description.mojom", "audio_device_description.mojom",
"system_info.mojom", "system_info.mojom",
......
per-file *.mojom=set noparent per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS per-file *.mojom=file://ipc/SECURITY_OWNERS
per-file *_struct_traits*.*=set noparent per-file *_mojom_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS per-file *.typemap=file://ipc/SECURITY_OWNERS
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
module audio.mojom; module audio.mojom;
import "media/mojo/interfaces/audio_parameters.mojom"; import "media/mojo/interfaces/audio_parameters.mojom";
import "services/audio/public/interfaces/audio_device_description.mojom"; import "services/audio/public/mojom/audio_device_description.mojom";
// Provides information about audio system. // Provides information about audio system.
interface SystemInfo { interface SystemInfo {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "base/callback.h" #include "base/callback.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "services/audio/public/interfaces/system_info.mojom.h" #include "services/audio/public/mojom/system_info.mojom.h"
#include "services/service_manager/public/cpp/binder_registry.h" #include "services/service_manager/public/cpp/binder_registry.h"
#include "services/service_manager/public/cpp/service.h" #include "services/service_manager/public/cpp/service.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "base/sequence_checker.h" #include "base/sequence_checker.h"
#include "media/audio/audio_system_helper.h" #include "media/audio/audio_system_helper.h"
#include "mojo/public/cpp/bindings/binding_set.h" #include "mojo/public/cpp/bindings/binding_set.h"
#include "services/audio/public/interfaces/system_info.mojom.h" #include "services/audio/public/mojom/system_info.mojom.h"
namespace media { namespace media {
class AudioManager; class AudioManager;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "media/audio/test_audio_thread.h" #include "media/audio/test_audio_thread.h"
#include "mojo/public/cpp/bindings/binding_set.h" #include "mojo/public/cpp/bindings/binding_set.h"
#include "services/audio/in_process_audio_manager_accessor.h" #include "services/audio/in_process_audio_manager_accessor.h"
#include "services/audio/public/interfaces/constants.mojom.h" #include "services/audio/public/mojom/constants.mojom.h"
#include "services/audio/system_info.h" #include "services/audio/system_info.h"
#include "services/service_manager/public/cpp/connector.h" #include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/interfaces/connector.mojom.h" #include "services/service_manager/public/interfaces/connector.mojom.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "mojo/public/cpp/bindings/binding_set.h" #include "mojo/public/cpp/bindings/binding_set.h"
#include "services/audio/public/cpp/audio_system_to_service_adapter.h" #include "services/audio/public/cpp/audio_system_to_service_adapter.h"
#include "services/audio/public/cpp/fake_system_info.h" #include "services/audio/public/cpp/fake_system_info.h"
#include "services/audio/public/interfaces/constants.mojom.h" #include "services/audio/public/mojom/constants.mojom.h"
#include "services/audio/service_factory.h" #include "services/audio/service_factory.h"
#include "services/service_manager/public/cpp/service_context.h" #include "services/service_manager/public/cpp/service_context.h"
#include "services/service_manager/public/cpp/service_test.h" #include "services/service_manager/public/cpp/service_test.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment