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

Unified Diff: chrome/browser/password_manager/password_store_factory.cc

Issue 183223003: Add StartSyncFlare to PasswordSyncableService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk Created 6 years, 9 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/password_manager/password_store_factory.cc
diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
index 75a2bca79651542543f1a38639ca993cd0ecda6c..12d157fa3a56518b925adcdcc5c4df3ac8c8c241 100644
--- a/chrome/browser/password_manager/password_store_factory.cc
+++ b/chrome/browser/password_manager/password_store_factory.cc
@@ -8,6 +8,7 @@
#include "base/environment.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/incognito_helpers.h"
+#include "chrome/browser/sync/glue/sync_start_util.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/common/chrome_constants.h"
@@ -220,7 +221,8 @@ BrowserContextKeyedService* PasswordStoreFactory::BuildServiceInstanceFor(
#else
NOTIMPLEMENTED();
#endif
- if (!ps || !ps->Init()) {
+ if (!ps || !ps->Init(
+ sync_start_util::GetFlareForSyncableService(profile->GetPath()))) {
NOTREACHED() << "Could not initialize password manager.";
return NULL;
}
« no previous file with comments | « chrome/browser/password_manager/mock_password_store_service.cc ('k') | chrome/browser/password_manager/password_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698