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

Unified Diff: components/browser_sync/browser/profile_sync_service.h

Issue 1414203016: [Sync] Introduce GmsCoreSyncListener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move GetCustomPassphraseKey declaration. Created 5 years, 1 month 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: components/browser_sync/browser/profile_sync_service.h
diff --git a/components/browser_sync/browser/profile_sync_service.h b/components/browser_sync/browser/profile_sync_service.h
index 9909a296326d592f460adcc3c84e06fbbe082ade..fbef36d693f17e85db30cbf26312dc4e488d7666 100644
--- a/components/browser_sync/browser/profile_sync_service.h
+++ b/components/browser_sync/browser/profile_sync_service.h
@@ -566,6 +566,10 @@ class ProfileSyncService : public sync_driver::SyncService,
// killed in the near future.
void FlushDirectory() const;
+ // Returns a serialized NigoriKey proto generated from the bootstrap token in
+ // SyncPrefs. Will return the empty string if no bootstrap token exists.
+ std::string GetCustomPassphraseKey() const;
+
// Needed to test whether the directory is deleted properly.
base::FilePath GetDirectoryPathForTest() const;

Powered by Google App Engine
This is Rietveld 408576698