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

Unified Diff: chrome/browser/web_resource/web_resource_service.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/web_resource/web_resource_service.h ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/web_resource_service.cc
===================================================================
--- chrome/browser/web_resource/web_resource_service.cc (revision 91968)
+++ chrome/browser/web_resource/web_resource_service.cc (working copy)
@@ -15,6 +15,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/sync/sync_ui_util.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/extensions/extension.h"
@@ -213,7 +214,7 @@
PrefService* prefs,
const char* web_resource_server,
bool apply_locale_to_url,
- NotificationType::Type notification_type,
+ int notification_type,
const char* last_update_time_pref_name,
int start_fetch_delay,
int cache_update_delay)
@@ -262,7 +263,7 @@
void WebResourceService::WebResourceStateChange() {
web_resource_update_scheduled_ = false;
- if (notification_type_ == NotificationType::NOTIFICATION_TYPE_COUNT)
+ if (notification_type_ == chrome::NOTIFICATION_CHROME_END)
return;
NotificationService* service = NotificationService::current();
service->Notify(notification_type_,
« no previous file with comments | « chrome/browser/web_resource/web_resource_service.h ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698