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

Unified Diff: chrome/browser/webdata/web_data_service_factory.cc

Issue 14735010: sync: some fixups for --sync-enabled-deferred-init (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: chrome/browser/webdata/web_data_service_factory.cc
diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
index 66bcef71cf9f65f9c3eb61ec77d57a676e899b3d..943de8582e0fc6f7cd25077bf446d19240843951 100644
--- a/chrome/browser/webdata/web_data_service_factory.cc
+++ b/chrome/browser/webdata/web_data_service_factory.cc
@@ -59,8 +59,8 @@ void InitSyncableServicesOnDBThread(
WebDataServiceWrapper::WebDataServiceWrapper() {}
WebDataServiceWrapper::WebDataServiceWrapper(Profile* profile) {
- base::FilePath path = profile->GetPath();
- path = path.Append(kWebDataFilename);
+ base::FilePath profile_path = profile->GetPath();
+ base::FilePath path = profile_path.Append(kWebDataFilename);
web_database_ = new WebDatabaseService(path);
@@ -99,7 +99,7 @@ WebDataServiceWrapper::WebDataServiceWrapper(Profile* profile) {
BrowserThread::DB, FROM_HERE,
base::Bind(&InitSyncableServicesOnDBThread,
autofill_web_data_,
- sync_start_util::GetFlareForSyncableService(path),
+ sync_start_util::GetFlareForSyncableService(profile_path),
g_browser_process->GetApplicationLocale()));
}
« chrome/browser/sync/profile_sync_service.cc ('K') | « chrome/browser/sync/profile_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698