From ad50def5e1165d0cc74b98f988bbd5962587d9f4 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 19 Oct 2011 23:17:07 +0000 Subject: Make NotificationService an interface in the content namespace, and switch callers to use it. Move the implementation to content/browser. Stop creating it in all child processes since it's only used in the browser. BUG=98716 Review URL: http://codereview.chromium.org/8342048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106403 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/spellchecker/spellcheck_host_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/spellchecker/spellcheck_host_impl.cc') diff --git a/chrome/browser/spellchecker/spellcheck_host_impl.cc b/chrome/browser/spellchecker/spellcheck_host_impl.cc index 5cc84c6..946e5ab 100644 --- a/chrome/browser/spellchecker/spellcheck_host_impl.cc +++ b/chrome/browser/spellchecker/spellcheck_host_impl.cc @@ -23,7 +23,7 @@ #include "chrome/common/spellcheck_common.h" #include "chrome/common/spellcheck_messages.h" #include "content/browser/renderer_host/render_process_host.h" -#include "content/common/notification_service.h" +#include "content/public/browser/notification_service.h" #include "content/public/browser/notification_types.h" #include "googleurl/src/gurl.h" #include "net/url_request/url_request_context_getter.h" @@ -101,7 +101,7 @@ SpellCheckHostImpl::SpellCheckHostImpl( personal_file_directory.Append(chrome::kCustomDictionaryFileName); registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED, - NotificationService::AllSources()); + content::NotificationService::AllSources()); } SpellCheckHostImpl::~SpellCheckHostImpl() { -- cgit v1.1