Commit 1b39b8b1 authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

Rename traits and mojo directory in //components/autofill/

This CL renames interfaces to mojom and *_struct_traits.*
to *_mojom_traits.* in //components/autofill/.

*_struct_traits.* => *_mojom_traits.*
components/autofill/content/common/ => components/autofill/content/common/mojom

Bug: 806965
Change-Id: Ie24626259372bacf83399c48f2c1fadbef66aabc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1703477
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678167}
parent c6e04c1f
......@@ -723,7 +723,7 @@ source_set("common") {
"//components/about_ui",
"//components/autofill/android:provider",
"//components/autofill/content/browser",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/content/renderer",
"//components/cdm/browser",
"//components/cdm/renderer",
......
......@@ -425,7 +425,7 @@ source_set("chrome_content_browser_overlay_manifest") {
"//chrome/common:page_load_metrics_mojom",
"//chrome/common/media_router/mojo:media_router",
"//chrome/test/data:web_ui_test_bindings",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/contextual_search/content/common/mojom",
"//components/data_reduction_proxy/core/common:interfaces",
"//components/dom_distiller/content/common/mojom",
......@@ -521,7 +521,7 @@ source_set("chrome_content_renderer_overlay_manifest") {
"//base",
"//chrome/common:mojo_bindings",
"//chrome/common:search_mojom",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/dom_distiller/content/common/mojom",
"//components/metrics/public/interfaces:call_stack_mojo_bindings",
"//components/rappor/public/interfaces",
......
......@@ -641,7 +641,7 @@ if (!is_android) {
"//chrome/renderer",
"//chrome/services/removable_storage_writer:lib",
"//components/autofill/content/browser:risk_proto",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/content/renderer:test_support",
"//components/captive_portal:test_support",
"//components/cbor",
......
......@@ -19,7 +19,7 @@ jumbo_static_library("browser") {
public_deps = [
":risk_proto",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//skia",
......@@ -72,7 +72,7 @@ source_set("unit_tests") {
deps = [
":browser",
"//base",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/autofill/core/common",
......
......@@ -4,7 +4,7 @@
import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojo_interfaces") {
mojom("mojom") {
sources = [
"autofill_agent.mojom",
"autofill_driver.mojom",
......
......@@ -4,8 +4,8 @@ per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS
per-file *_struct_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS
per-file *_mojom_traits*.*=set noparent
per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
per-file *_message*.*=set noparent
per-file *_message*.*=file://ipc/SECURITY_OWNERS
per-file *_param_traits*.*=set noparent
......
......@@ -41,7 +41,7 @@ jumbo_static_library("renderer") {
deps = [
"//base",
"//base:i18n",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/core/common",
"//components/strings",
"//content/public/common",
......@@ -91,7 +91,7 @@ source_set("unit_tests") {
deps = [
":test_support",
"//base/test:test_support",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/core/common",
"//testing/gtest",
]
......
......@@ -30,7 +30,7 @@ mojom("mojo_test_types") {
source_set("unit_tests") {
testonly = true
sources = [
"autofill_types_struct_traits_unittest.cc",
"autofill_types_mojom_traits_unittest.cc",
]
public_deps = [
......
per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS
per-file *_struct_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS
per-file *_mojom_traits*.*=set noparent
per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS
......@@ -15,9 +15,9 @@ public_headers = [
"//components/autofill/core/common/password_generation_util.h",
]
traits_headers =
[ "//components/autofill/core/common/mojom/autofill_types_struct_traits.h" ]
[ "//components/autofill/core/common/mojom/autofill_types_mojom_traits.h" ]
sources = [
"//components/autofill/core/common/mojom/autofill_types_struct_traits.cc",
"//components/autofill/core/common/mojom/autofill_types_mojom_traits.cc",
]
deps = [
"//base",
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/common/mojom/autofill_types_struct_traits.h"
#include "components/autofill/core/common/mojom/autofill_types_mojom_traits.h"
#include "base/i18n/rtl.h"
#include "mojo/public/cpp/base/string16_mojom_traits.h"
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_STRUCT_TRAITS_H_
#define COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_STRUCT_TRAITS_H_
#ifndef COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_MOJOM_TRAITS_H_
#define COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_MOJOM_TRAITS_H_
#include <map>
#include <string>
......@@ -616,4 +616,4 @@ struct StructTraits<autofill::mojom::ValueElementPairDataView,
} // namespace mojo
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_STRUCT_TRAITS_H_
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_MOJOM_AUTOFILL_TYPES_MOJOM_TRAITS_H_
......@@ -25,7 +25,7 @@ jumbo_static_library("browser") {
public_deps = [
"//base",
"//components/autofill/content/browser",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/content/common/mojom",
"//components/autofill/core/common",
"//components/keyed_service/content",
"//components/password_manager/core/browser",
......
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