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

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

Issue 10809094: Context Menus now uses the JSON Schema Compiler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@json_functions_as_properties
Patch Set: templates. Created 8 years, 5 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 063b8edd4cb67386b5a8412be6bcf9688cf43c6e..bf362675e40f56ab3f6a5c5955e6d004a798340d 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -105,7 +105,6 @@ void SyncBackendHostForProfileSyncTest
syncer::ModelTypeSet restored_types) {
// Here's our opportunity to pretend to do things that the SyncManager would
// normally do during initialization, but can't because this is a test.
- bool send_passphrase_required = false;
not at google - send to devlin 2012/07/31 06:53:09 what's this change?
chebert 2012/08/02 23:56:40 Whoops. This was so unittests would compile (this
if (success) {
// Set up any nodes the test wants around before model association.
if (!callback_.is_null()) {
@@ -121,10 +120,6 @@ void SyncBackendHostForProfileSyncTest
if (!directory->initial_sync_ended_for_type(syncer::NIGORI)) {
ProfileSyncServiceTestHelper::CreateRoot(
syncer::NIGORI, user_share, &id_factory_);
-
- // A side effect of adding the NIGORI mode (normally done by the
- // syncer) is a decryption attempt, which will fail the first time.
- send_passphrase_required = true;
}
SetInitialSyncEndedForAllTypes();

Powered by Google App Engine
This is Rietveld 408576698