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

Unified Diff: chrome/browser/extensions/network_delay_listener_unittest.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/network_delay_listener_unittest.cc
===================================================================
--- chrome/browser/extensions/network_delay_listener_unittest.cc (revision 106380)
+++ chrome/browser/extensions/network_delay_listener_unittest.cc (working copy)
@@ -15,7 +15,7 @@
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
#include "content/browser/renderer_host/resource_queue.h"
#include "content/browser/site_instance.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_test_job.h"
#include "net/url_request/url_request_test_util.h"
@@ -134,7 +134,7 @@
scoped_ptr<TestExtensionHost> background_host(
new TestExtensionHost(extension,
chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE));
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING,
content::Source<Profile>(profile_.get()),
content::Details<ExtensionHost>(background_host.get()));
@@ -164,7 +164,7 @@
// We don't care about a loaded extension dialog.
scoped_ptr<TestExtensionHost> dialog_host(
new TestExtensionHost(extension1_, chrome::VIEW_TYPE_EXTENSION_DIALOG));
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING,
content::Source<Profile>(profile_.get()),
content::Details<ExtensionHost>(dialog_host.get()));

Powered by Google App Engine
This is Rietveld 408576698