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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « chrome/browser/extensions/user_script_listener.cc ('k') | chrome/browser/extensions/user_script_master.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/user_script_listener_unittest.cc
===================================================================
--- chrome/browser/extensions/user_script_listener_unittest.cc (revision 91968)
+++ chrome/browser/extensions/user_script_listener_unittest.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/threading/thread.h"
#include "chrome/browser/extensions/extension_service_unittest.h"
#include "chrome/browser/extensions/user_script_listener.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/extensions/extension_file_util.h"
#include "content/browser/mock_resource_context.h"
@@ -14,7 +15,6 @@
#include "content/browser/renderer_host/resource_handler.h"
#include "content/browser/renderer_host/resource_queue.h"
#include "content/common/notification_service.h"
-#include "content/common/notification_type.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"
@@ -184,7 +184,7 @@
ASSERT_FALSE(request->is_pending());
NotificationService::current()->Notify(
- NotificationType::USER_SCRIPTS_UPDATED,
+ chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
Source<Profile>(profile_.get()),
NotificationService::NoDetails());
MessageLoop::current()->RunAllPending();
@@ -207,7 +207,7 @@
ASSERT_FALSE(request->is_pending());
NotificationService::current()->Notify(
- NotificationType::USER_SCRIPTS_UPDATED,
+ chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
Source<Profile>(profile_.get()),
NotificationService::NoDetails());
MessageLoop::current()->RunAllPending();
« no previous file with comments | « chrome/browser/extensions/user_script_listener.cc ('k') | chrome/browser/extensions/user_script_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698