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

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

Issue 437683002: Wire sync shutdown reason from PSS all the way down to sync manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 syncer::NetworkResources* network_resources) OVERRIDE; 94 syncer::NetworkResources* network_resources) OVERRIDE;
95 virtual void UpdateCredentials( 95 virtual void UpdateCredentials(
96 const syncer::SyncCredentials& credentials) OVERRIDE; 96 const syncer::SyncCredentials& credentials) OVERRIDE;
97 virtual void StartSyncingWithServer() OVERRIDE; 97 virtual void StartSyncingWithServer() OVERRIDE;
98 virtual void SetEncryptionPassphrase( 98 virtual void SetEncryptionPassphrase(
99 const std::string& passphrase, 99 const std::string& passphrase,
100 bool is_explicit) OVERRIDE; 100 bool is_explicit) OVERRIDE;
101 virtual bool SetDecryptionPassphrase(const std::string& passphrase) 101 virtual bool SetDecryptionPassphrase(const std::string& passphrase)
102 OVERRIDE WARN_UNUSED_RESULT; 102 OVERRIDE WARN_UNUSED_RESULT;
103 virtual void StopSyncingForShutdown() OVERRIDE; 103 virtual void StopSyncingForShutdown() OVERRIDE;
104 virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE; 104 virtual scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason)
105 OVERRIDE;
105 virtual void UnregisterInvalidationIds() OVERRIDE; 106 virtual void UnregisterInvalidationIds() OVERRIDE;
106 virtual void ConfigureDataTypes( 107 virtual void ConfigureDataTypes(
107 syncer::ConfigureReason reason, 108 syncer::ConfigureReason reason,
108 const DataTypeConfigStateMap& config_state_map, 109 const DataTypeConfigStateMap& config_state_map,
109 const base::Callback<void(syncer::ModelTypeSet, 110 const base::Callback<void(syncer::ModelTypeSet,
110 syncer::ModelTypeSet)>& ready_task, 111 syncer::ModelTypeSet)>& ready_task,
111 const base::Callback<void()>& retry_callback) OVERRIDE; 112 const base::Callback<void()>& retry_callback) OVERRIDE;
112 virtual void ActivateDataType( 113 virtual void ActivateDataType(
113 syncer::ModelType type, syncer::ModelSafeGroup group, 114 syncer::ModelType type, syncer::ModelSafeGroup group,
114 sync_driver::ChangeProcessor* change_processor) OVERRIDE; 115 sync_driver::ChangeProcessor* change_processor) OVERRIDE;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 367
367 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 368 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
368 369
369 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 370 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
370 }; 371 };
371 372
372 } // namespace browser_sync 373 } // namespace browser_sync
373 374
374 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 375 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
375 376
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('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