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

Unified Diff: content/browser/appcache/chrome_appcache_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 | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/browser_child_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/chrome_appcache_service.cc
===================================================================
--- content/browser/appcache/chrome_appcache_service.cc (revision 91968)
+++ content/browser/appcache/chrome_appcache_service.cc (working copy)
@@ -51,7 +51,8 @@
cache_path_ = cache_path;
resource_context_ = resource_context;
registrar_.Add(
- this, NotificationType::PURGE_MEMORY, NotificationService::AllSources());
+ this, content::NOTIFICATION_PURGE_MEMORY,
+ NotificationService::AllSources());
SetClearLocalStateOnExit(clear_local_state_on_exit);
// Init our base class.
@@ -98,11 +99,11 @@
manifest_url, *resource_context_) ? net::OK : net::ERR_ACCESS_DENIED;
}
-void ChromeAppCacheService::Observe(NotificationType type,
+void ChromeAppCacheService::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- DCHECK(type == NotificationType::PURGE_MEMORY);
+ DCHECK(type == content::NOTIFICATION_PURGE_MEMORY);
PurgeMemory();
}
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/browser_child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698