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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 6902101: Refactor sync passphrase setup flow and fix passphrase tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: de Morgan's law simplification. Created 9 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
Index: chrome/browser/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 7d5be8526ea8c51a78ea2b3616f221d00bf38f6c..f4a0e7864f3e6c5a2f37eb3f8749bf77a52db7fd 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -227,7 +227,7 @@ void TestProfileSyncService::OnBackendInitialized() {
ProfileSyncService::OnBackendInitialized();
if (send_passphrase_required)
- OnPassphraseRequired(true);
+ OnPassphraseRequired(sync_api::REASON_DECRYPTION);
// TODO(akalin): Figure out a better way to do this.
if (synchronous_backend_initialization_) {

Powered by Google App Engine
This is Rietveld 408576698