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

Unified Diff: sync/engine/sync_scheduler.h

Issue 10455012: [Sync] Add support for performing a GetKey on startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move GetEncryptionKey logic into GetUpdates 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: sync/engine/sync_scheduler.h
diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
index e706a8cf2efa0e3d7932b1999a8f607b91b3f54b..4cb65c955d24cbc6e8fa362dbb9f77bc658d7cc3 100644
--- a/sync/engine/sync_scheduler.h
+++ b/sync/engine/sync_scheduler.h
@@ -37,16 +37,11 @@ namespace syncer {
struct ServerConnectionEvent;
struct ConfigurationParams {
- enum KeystoreKeyStatus {
- KEYSTORE_KEY_UNNECESSARY,
- KEYSTORE_KEY_NEEDED
- };
ConfigurationParams();
ConfigurationParams(
const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource& source,
const syncer::ModelTypeSet& types_to_download,
const syncer::ModelSafeRoutingInfo& routing_info,
- KeystoreKeyStatus keystore_key_status,
const base::Closure& ready_task);
~ConfigurationParams();
@@ -56,8 +51,6 @@ struct ConfigurationParams {
syncer::ModelTypeSet types_to_download;
// The new routing info (superset of types to be downloaded).
ModelSafeRoutingInfo routing_info;
- // Whether we need to perform a GetKey command.
- KeystoreKeyStatus keystore_key_status;
// Callback to invoke on configuration completion.
base::Closure ready_task;
};

Powered by Google App Engine
This is Rietveld 408576698