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

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

Issue 1081413003: [Sync] Have configuration specify which datatypes are ready to sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix components_unittests Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_IMPL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 syncer::NetworkResources* network_resources) override; 93 syncer::NetworkResources* network_resources) override;
94 void UpdateCredentials(const syncer::SyncCredentials& credentials) override; 94 void UpdateCredentials(const syncer::SyncCredentials& credentials) override;
95 void StartSyncingWithServer() override; 95 void StartSyncingWithServer() override;
96 void SetEncryptionPassphrase(const std::string& passphrase, 96 void SetEncryptionPassphrase(const std::string& passphrase,
97 bool is_explicit) override; 97 bool is_explicit) override;
98 bool SetDecryptionPassphrase(const std::string& passphrase) override 98 bool SetDecryptionPassphrase(const std::string& passphrase) override
99 WARN_UNUSED_RESULT; 99 WARN_UNUSED_RESULT;
100 void StopSyncingForShutdown() override; 100 void StopSyncingForShutdown() override;
101 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override; 101 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override;
102 void UnregisterInvalidationIds() override; 102 void UnregisterInvalidationIds() override;
103 void ConfigureDataTypes( 103 syncer::ModelTypeSet ConfigureDataTypes(
104 syncer::ConfigureReason reason, 104 syncer::ConfigureReason reason,
105 const DataTypeConfigStateMap& config_state_map, 105 const DataTypeConfigStateMap& config_state_map,
106 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>& 106 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>&
107 ready_task, 107 ready_task,
108 const base::Callback<void()>& retry_callback) override; 108 const base::Callback<void()>& retry_callback) override;
109 void ActivateDataType( 109 void ActivateDataType(
110 syncer::ModelType type, 110 syncer::ModelType type,
111 syncer::ModelSafeGroup group, 111 syncer::ModelSafeGroup group,
112 sync_driver::ChangeProcessor* change_processor) override; 112 sync_driver::ChangeProcessor* change_processor) override;
113 void DeactivateDataType(syncer::ModelType type) override; 113 void DeactivateDataType(syncer::ModelType type) override;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 357
358 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 358 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
359 359
360 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 360 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
361 }; 361 };
362 362
363 } // namespace browser_sync 363 } // namespace browser_sync
364 364
365 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 365 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
366 366
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.h ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698