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

Unified Diff: chrome/browser/spellcheck_host_impl.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/spellcheck_host_impl.h ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellcheck_host_impl.cc
===================================================================
--- chrome/browser/spellcheck_host_impl.cc (revision 91968)
+++ chrome/browser/spellcheck_host_impl.cc (working copy)
@@ -99,7 +99,7 @@
custom_dictionary_file_ =
personal_file_directory.Append(chrome::kCustomDictionaryFileName);
- registrar_.Add(this, NotificationType::RENDERER_PROCESS_CREATED,
+ registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED,
NotificationService::AllSources());
}
@@ -333,10 +333,10 @@
NewRunnableMethod(this, &SpellCheckHostImpl::SaveDictionaryData));
}
-void SpellCheckHostImpl::Observe(NotificationType type,
+void SpellCheckHostImpl::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::RENDERER_PROCESS_CREATED);
+ DCHECK(type == content::NOTIFICATION_RENDERER_PROCESS_CREATED);
RenderProcessHost* process = Source<RenderProcessHost>(source).ptr();
InitForRenderer(process);
}
« no previous file with comments | « chrome/browser/spellcheck_host_impl.h ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698