Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5183)

Unified Diff: chrome/browser/extensions/extension_startup_browsertest.cc

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_startup_browsertest.cc
===================================================================
--- chrome/browser/extensions/extension_startup_browsertest.cc (revision 106380)
+++ chrome/browser/extensions/extension_startup_browsertest.cc (working copy)
@@ -19,6 +19,7 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/notification_details.h"
+#include "content/public/browser/notification_service.h"
#include "net/base/net_util.h"
// This file contains high-level startup tests for the extensions system. We've
@@ -92,7 +93,7 @@
ui_test_utils::WindowedNotificationObserver user_scripts_observer(
chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
UserScriptMaster* master = browser()->profile()->GetUserScriptMaster();
if (!master->ScriptsReady())
user_scripts_observer.Wait();
@@ -169,7 +170,7 @@
if (service->AllowFileAccess(service->extensions()->at(i))) {
ui_test_utils::WindowedNotificationObserver user_scripts_observer(
chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
service->SetAllowFileAccess(service->extensions()->at(i), false);
user_scripts_observer.Wait();
}
« no previous file with comments | « chrome/browser/extensions/extension_settings_frontend_unittest.cc ('k') | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698