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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 10854050: sync: Remove WITH_NIGORI and WITHOUT_NIGORI flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void Shutdown(bool sync_disabled); 224 void Shutdown(bool sync_disabled);
225 225
226 // Changes the set of data types that are currently being synced. 226 // Changes the set of data types that are currently being synced.
227 // The ready_task will be run when configuration is done with the 227 // The ready_task will be run when configuration is done with the
228 // set of all types that failed configuration (i.e., if its argument 228 // set of all types that failed configuration (i.e., if its argument
229 // is non-empty, then an error was encountered). 229 // is non-empty, then an error was encountered).
230 virtual void ConfigureDataTypes( 230 virtual void ConfigureDataTypes(
231 syncer::ConfigureReason reason, 231 syncer::ConfigureReason reason,
232 syncer::ModelTypeSet types_to_add, 232 syncer::ModelTypeSet types_to_add,
233 syncer::ModelTypeSet types_to_remove, 233 syncer::ModelTypeSet types_to_remove,
234 NigoriState nigori_state,
235 const base::Callback<void(syncer::ModelTypeSet)>& ready_task, 234 const base::Callback<void(syncer::ModelTypeSet)>& ready_task,
236 const base::Callback<void()>& retry_callback) OVERRIDE; 235 const base::Callback<void()>& retry_callback) OVERRIDE;
237 236
238 // Turns on encryption of all present and future sync data. 237 // Turns on encryption of all present and future sync data.
239 virtual void EnableEncryptEverything(); 238 virtual void EnableEncryptEverything();
240 239
241 // Activates change processing for the given data type. This must 240 // Activates change processing for the given data type. This must
242 // be called synchronously with the data type's model association so 241 // be called synchronously with the data type's model association so
243 // no changes are dropped between model association and change 242 // no changes are dropped between model association and change
244 // processor activation. 243 // processor activation.
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 529
531 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. 530 // UI-thread cache of the last SyncSessionSnapshot received from syncapi.
532 syncer::sessions::SyncSessionSnapshot last_snapshot_; 531 syncer::sessions::SyncSessionSnapshot last_snapshot_;
533 532
534 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 533 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
535 }; 534 };
536 535
537 } // namespace browser_sync 536 } // namespace browser_sync
538 537
539 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 538 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698