summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/content_script_apitest.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-31 12:44:06 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-31 12:44:06 +0000
commitadf5a10eeb5dc230f27d3b1344f2111bdfcd97d6 (patch)
tree8ba5fbfcb3ddaa54355fa3b03cbdcadcbc6d875d /chrome/browser/extensions/content_script_apitest.cc
parent248ee9be3db637800a1bf7b13817df43f904248b (diff)
downloadchromium_src-adf5a10eeb5dc230f27d3b1344f2111bdfcd97d6.zip
chromium_src-adf5a10eeb5dc230f27d3b1344f2111bdfcd97d6.tar.gz
chromium_src-adf5a10eeb5dc230f27d3b1344f2111bdfcd97d6.tar.bz2
Move extension notifications to extensions/browser/notification_types.h
As part of the extensions module refactor we temporarily allowed the use of chrome_notification_types.h in src/extensions. However, this allowed code moving into src/extensions to listen to notifications from Chrome, which was a layering violation. This CL moves all the extensions notifications into their own header and cleans up DEPS to disallow the exception. BUG=392622 TEST=compiles, unit_tests, browser_tests, extensions_unittests TBR=miket@chromium.org for apps/ Review URL: https://codereview.chromium.org/425303002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/content_script_apitest.cc')
-rw-r--r--chrome/browser/extensions/content_script_apitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/content_script_apitest.cc b/chrome/browser/extensions/content_script_apitest.cc
index 01aa743..aad743d 100644
--- a/chrome/browser/extensions/content_script_apitest.cc
+++ b/chrome/browser/extensions/content_script_apitest.cc
@@ -4,7 +4,6 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
-#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/api/permissions/permissions_api.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_service.h"
@@ -14,6 +13,7 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test_utils.h"
+#include "extensions/browser/notification_types.h"
#include "extensions/common/extension.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
@@ -209,7 +209,7 @@ IN_PROC_BROWSER_TEST_F(
ASSERT_TRUE(StartEmbeddedTestServer());
content::WindowedNotificationObserver signal(
- chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
+ extensions::NOTIFICATION_USER_SCRIPTS_UPDATED,
content::Source<Profile>(browser()->profile()));
// Start with a renderer already open at a URL.