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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 2365763002: [Sync] Removed passphrase helper methods, removed ((n)) pattern, and fixed lint violations. (Closed)
Patch Set: Created 4 years, 3 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/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index 82cde03c4e42e03e68017b47e931c26da79b249d..d429a9ee10071259543feebed7ed480047c507fe 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -1021,6 +1021,18 @@ bool SyncTest::AwaitEncryptionComplete(int index) {
return !checker.TimedOut();
}
+void SyncTest::SetEncryptionPassphrase(
maxbogue 2016/09/23 17:39:37 Honestly I'm not even sure these methods are neces
skym 2016/09/23 17:55:20 Done. I was thinking it'd make more sense once I
+ int index,
+ const std::string& passphrase,
+ ProfileSyncService::PassphraseType type) {
+ GetClient(index)->service()->SetEncryptionPassphrase(passphrase, type);
+}
+
+bool SyncTest::SetDecryptionPassphrase(int index,
+ const std::string& passphrase) {
+ return GetClient(index)->service()->SetDecryptionPassphrase(passphrase);
+}
+
bool SyncTest::AwaitQuiescence() {
return ProfileSyncServiceHarness::AwaitQuiescence(clients());
}

Powered by Google App Engine
This is Rietveld 408576698