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

Unified Diff: chrome/browser/search_engines/search_provider_install_data.cc

Issue 10006037: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile Created 8 years, 8 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/profiles/profile_impl.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/search_provider_install_data.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data.cc b/chrome/browser/search_engines/search_provider_install_data.cc
index c3af1aa7897668753aa983e637d65ad487e6543a..f519c8728963048c7de733613ce7c2fa34832406 100644
--- a/chrome/browser/search_engines/search_provider_install_data.cc
+++ b/chrome/browser/search_engines/search_provider_install_data.cc
@@ -20,6 +20,7 @@
#include "chrome/browser/search_engines/template_url_service.h"
#include "chrome/browser/search_engines/util.h"
#include "chrome/browser/webdata/web_data_service.h"
+#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_observer.h"
@@ -155,7 +156,8 @@ SearchProviderInstallData::SearchProviderInstallData(
Profile* profile,
int ui_death_notification,
const content::NotificationSource& ui_death_source)
- : web_service_(profile->GetWebDataService(Profile::EXPLICIT_ACCESS)),
+ : web_service_(WebDataServiceFactory::GetForProfile(profile,
+ Profile::EXPLICIT_ACCESS)),
load_handle_(0),
google_base_url_(UIThreadSearchTermsData().GoogleBaseURLValue()) {
// GoogleURLObserver is responsible for killing itself when
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698