diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-19 16:21:05 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-19 16:21:05 +0000 |
commit | c0b030903ade85e9a9130b45bfafe3621223db8d (patch) | |
tree | 3fd1964dacd486ea4c58cf1ddcc78e461373acb5 /chrome/tools/profiles | |
parent | eb72b27ac26621b2f1819fa318761a035689482d (diff) | |
download | chromium_src-c0b030903ade85e9a9130b45bfafe3621223db8d.zip chromium_src-c0b030903ade85e9a9130b45bfafe3621223db8d.tar.gz chromium_src-c0b030903ade85e9a9130b45bfafe3621223db8d.tar.bz2 |
Go through NotificationService interface in the remaining places.
BUG=98716
R=jam@chromium.org
TBR=mirandac@chromium.org
Review URL: http://codereview.chromium.org/8963033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/profiles')
-rw-r--r-- | chrome/tools/profiles/generate_profile.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc index 51c0f9c..a19d2fc 100644 --- a/chrome/tools/profiles/generate_profile.cc +++ b/chrome/tools/profiles/generate_profile.cc @@ -24,8 +24,8 @@ #include "chrome/common/thumbnail_score.h" #include "chrome/test/base/testing_profile.h" #include "content/browser/browser_thread_impl.h" -#include "content/browser/notification_service_impl.h" #include "content/public/browser/browser_thread.h" +#include "content/public/browser/notification_service.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/base/resource/resource_bundle.h" #include "ui/base/ui_base_paths.h" @@ -235,7 +235,8 @@ int main(int argc, const char* argv[]) { chrome::RegisterPathProvider(); ui::RegisterPathProvider(); ResourceBundle::InitSharedInstance("en-US"); - NotificationServiceImpl notification_service; + scoped_ptr<content::NotificationService> notification_service( + content::NotificationService::Create()); MessageLoopForUI message_loop; content::BrowserThreadImpl ui_thread(BrowserThread::UI, &message_loop); content::BrowserThreadImpl db_thread(BrowserThread::DB, &message_loop); |