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

Unified Diff: chrome/browser/extensions/extension_apitest.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_apitest.cc
===================================================================
--- chrome/browser/extensions/extension_apitest.cc (revision 106380)
+++ chrome/browser/extensions/extension_apitest.cc (working copy)
@@ -13,6 +13,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/notification_service.h"
namespace {
@@ -28,9 +29,9 @@
: profile_restriction_(NULL),
waiting_(false) {
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_TEST_PASSED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_TEST_FAILED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
ExtensionApiTest::ResultCatcher::~ResultCatcher() {
« no previous file with comments | « chrome/browser/extensions/extension_accessibility_api.cc ('k') | chrome/browser/extensions/extension_app_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698