diff options
author | blundell <blundell@chromium.org> | 2015-01-23 08:27:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-23 16:27:55 +0000 |
commit | 471b74f430d7885283a7257de6923fdc86a94368 (patch) | |
tree | e7041dc8b12840c74c7c09b259e6ea8a2975eddb /extensions | |
parent | 630ce7c1985119bd70753f72fc27daebd4b85635 (diff) | |
download | chromium_src-471b74f430d7885283a7257de6923fdc86a94368.zip chromium_src-471b74f430d7885283a7257de6923fdc86a94368.tar.gz chromium_src-471b74f430d7885283a7257de6923fdc86a94368.tar.bz2 |
Include Mojo SDK/EDK via fully-qualified paths in Chromium code.
As a followup to the move of the Mojo SDK and EDK to live under //third_party,
this CL updates Chromium code to include SDK/EDK headers via fully-qualified
paths instead of relying on include_dirs that are exported by the Mojo targets.
This CL also includes mechanical updates to DEPS files to satisfy checkdeps.
Review URL: https://codereview.chromium.org/846443006
Cr-Commit-Position: refs/heads/master@{#312858}
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/DEPS | 2 | ||||
-rw-r--r-- | extensions/browser/api/mime_handler_private/mime_handler_private.cc | 2 | ||||
-rw-r--r-- | extensions/browser/mojo/keep_alive_impl.h | 2 | ||||
-rw-r--r-- | extensions/browser/mojo/service_registration_manager.h | 2 | ||||
-rw-r--r-- | extensions/browser/mojo/stash_backend.h | 2 | ||||
-rw-r--r-- | extensions/renderer/DEPS | 2 | ||||
-rw-r--r-- | extensions/renderer/api_test_base.cc | 10 | ||||
-rw-r--r-- | extensions/renderer/api_test_base.h | 6 | ||||
-rw-r--r-- | extensions/renderer/dispatcher.cc | 2 | ||||
-rw-r--r-- | extensions/renderer/mojo/keep_alive_client_unittest.cc | 2 | ||||
-rw-r--r-- | extensions/test/DEPS | 2 | ||||
-rw-r--r-- | extensions/test/extensions_unittests_main.cc | 2 |
12 files changed, 18 insertions, 18 deletions
diff --git a/extensions/DEPS b/extensions/DEPS index 1a7b60a..183bba6 100644 --- a/extensions/DEPS +++ b/extensions/DEPS @@ -11,7 +11,7 @@ include_rules = [ "+extensions/test", "+grit/extensions_renderer_resources.h", "+grit/extensions_resources.h", - "+mojo/public", + "+third_party/mojo/src/mojo/public", "+third_party/skia/include", "+testing", diff --git a/extensions/browser/api/mime_handler_private/mime_handler_private.cc b/extensions/browser/api/mime_handler_private/mime_handler_private.cc index b1f816c..e2a25b1 100644 --- a/extensions/browser/api/mime_handler_private/mime_handler_private.cc +++ b/extensions/browser/api/mime_handler_private/mime_handler_private.cc @@ -8,8 +8,8 @@ #include "content/public/browser/stream_info.h" #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h" #include "extensions/common/constants.h" -#include "mojo/public/cpp/bindings/map.h" #include "net/http/http_response_headers.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/map.h" namespace extensions { namespace { diff --git a/extensions/browser/mojo/keep_alive_impl.h b/extensions/browser/mojo/keep_alive_impl.h index 0544f95..09473e2 100644 --- a/extensions/browser/mojo/keep_alive_impl.h +++ b/extensions/browser/mojo/keep_alive_impl.h @@ -7,7 +7,7 @@ #include "base/callback.h" #include "extensions/common/mojo/keep_alive.mojom.h" -#include "mojo/public/cpp/bindings/interface_request.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" namespace content { class BrowserContext; diff --git a/extensions/browser/mojo/service_registration_manager.h b/extensions/browser/mojo/service_registration_manager.h index 5fed206..e57fba2 100644 --- a/extensions/browser/mojo/service_registration_manager.h +++ b/extensions/browser/mojo/service_registration_manager.h @@ -12,7 +12,7 @@ #include "base/callback.h" #include "base/memory/linked_ptr.h" #include "content/public/common/service_registry.h" -#include "mojo/public/cpp/bindings/interface_request.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" namespace content { class RenderFrameHost; diff --git a/extensions/browser/mojo/stash_backend.h b/extensions/browser/mojo/stash_backend.h index b90e43d..2aff134 100644 --- a/extensions/browser/mojo/stash_backend.h +++ b/extensions/browser/mojo/stash_backend.h @@ -10,7 +10,7 @@ #include "base/memory/linked_ptr.h" #include "base/memory/weak_ptr.h" #include "extensions/common/mojo/stash.mojom.h" -#include "mojo/public/cpp/bindings/interface_request.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" namespace extensions { diff --git a/extensions/renderer/DEPS b/extensions/renderer/DEPS index fadfee7..fcbffb6 100644 --- a/extensions/renderer/DEPS +++ b/extensions/renderer/DEPS @@ -2,7 +2,7 @@ include_rules = [ "+content/public/renderer", "+gin", - "+mojo/edk/js", + "+third_party/mojo/src/mojo/edk/js", "+third_party/skia/include/core", diff --git a/extensions/renderer/api_test_base.cc b/extensions/renderer/api_test_base.cc index 6b9c837..9457df8 100644 --- a/extensions/renderer/api_test_base.cc +++ b/extensions/renderer/api_test_base.cc @@ -12,11 +12,11 @@ #include "extensions/renderer/process_info_native_handler.h" #include "gin/converter.h" #include "gin/dictionary.h" -#include "mojo/edk/js/core.h" -#include "mojo/edk/js/handle.h" -#include "mojo/edk/js/support.h" -#include "mojo/public/cpp/bindings/interface_request.h" -#include "mojo/public/cpp/system/core.h" +#include "third_party/mojo/src/mojo/edk/js/core.h" +#include "third_party/mojo/src/mojo/edk/js/handle.h" +#include "third_party/mojo/src/mojo/edk/js/support.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" +#include "third_party/mojo/src/mojo/public/cpp/system/core.h" namespace extensions { namespace { diff --git a/extensions/renderer/api_test_base.h b/extensions/renderer/api_test_base.h index 1989727..26a60a7 100644 --- a/extensions/renderer/api_test_base.h +++ b/extensions/renderer/api_test_base.h @@ -17,9 +17,9 @@ #include "gin/modules/module_registry.h" #include "gin/object_template_builder.h" #include "gin/wrappable.h" -#include "mojo/edk/js/handle.h" -#include "mojo/public/cpp/bindings/interface_request.h" -#include "mojo/public/cpp/system/core.h" +#include "third_party/mojo/src/mojo/edk/js/handle.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" +#include "third_party/mojo/src/mojo/public/cpp/system/core.h" namespace extensions { diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc index 943f1fd..ddd1c63 100644 --- a/extensions/renderer/dispatcher.cc +++ b/extensions/renderer/dispatcher.cc @@ -82,7 +82,6 @@ #include "extensions/renderer/utils_native_handler.h" #include "extensions/renderer/v8_context_native_handler.h" #include "grit/extensions_renderer_resources.h" -#include "mojo/public/js/constants.h" #include "third_party/WebKit/public/platform/WebString.h" #include "third_party/WebKit/public/platform/WebURLRequest.h" #include "third_party/WebKit/public/web/WebCustomElement.h" @@ -93,6 +92,7 @@ #include "third_party/WebKit/public/web/WebScopedUserGesture.h" #include "third_party/WebKit/public/web/WebSecurityPolicy.h" #include "third_party/WebKit/public/web/WebView.h" +#include "third_party/mojo/src/mojo/public/js/constants.h" #include "ui/base/layout.h" #include "ui/base/resource/resource_bundle.h" #include "v8/include/v8.h" diff --git a/extensions/renderer/mojo/keep_alive_client_unittest.cc b/extensions/renderer/mojo/keep_alive_client_unittest.cc index 2e76dd3..4f23621 100644 --- a/extensions/renderer/mojo/keep_alive_client_unittest.cc +++ b/extensions/renderer/mojo/keep_alive_client_unittest.cc @@ -5,7 +5,7 @@ #include "extensions/common/mojo/keep_alive.mojom.h" #include "extensions/renderer/api_test_base.h" #include "grit/extensions_renderer_resources.h" -#include "mojo/public/cpp/bindings/interface_impl.h" +#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" // A test launcher for tests for the stash client defined in // extensions/test/data/keep_alive_client_unittest.js. diff --git a/extensions/test/DEPS b/extensions/test/DEPS index 27ef4ea..b334588 100644 --- a/extensions/test/DEPS +++ b/extensions/test/DEPS @@ -1,5 +1,5 @@ include_rules = [ "+content/public", - "+mojo/edk/embedder", + "+third_party/mojo/src/mojo/edk/embedder", "+ui/gl", ] diff --git a/extensions/test/extensions_unittests_main.cc b/extensions/test/extensions_unittests_main.cc index cdf926a..9452f31b 100644 --- a/extensions/test/extensions_unittests_main.cc +++ b/extensions/test/extensions_unittests_main.cc @@ -13,7 +13,7 @@ #include "extensions/common/constants.h" #include "extensions/common/extension_paths.h" #include "extensions/test/test_extensions_client.h" -#include "mojo/edk/embedder/test_embedder.h" +#include "third_party/mojo/src/mojo/edk/embedder/test_embedder.h" #include "ui/base/resource/resource_bundle.h" #include "ui/gl/gl_surface.h" |