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

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

Issue 158953004: sync: Move migration signal out of snapshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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_CORE_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 9
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const syncer::WeakHandle<syncer::JsBackend>& js_backend, 95 const syncer::WeakHandle<syncer::JsBackend>& js_backend,
96 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& 96 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&
97 debug_info_listener, 97 debug_info_listener,
98 bool success, 98 bool success,
99 syncer::ModelTypeSet restored_types) OVERRIDE; 99 syncer::ModelTypeSet restored_types) OVERRIDE;
100 virtual void OnConnectionStatusChange( 100 virtual void OnConnectionStatusChange(
101 syncer::ConnectionStatus status) OVERRIDE; 101 syncer::ConnectionStatus status) OVERRIDE;
102 virtual void OnStopSyncingPermanently() OVERRIDE; 102 virtual void OnStopSyncingPermanently() OVERRIDE;
103 virtual void OnActionableError( 103 virtual void OnActionableError(
104 const syncer::SyncProtocolError& sync_error) OVERRIDE; 104 const syncer::SyncProtocolError& sync_error) OVERRIDE;
105 virtual void OnMigrationRequested(syncer::ModelTypeSet types) OVERRIDE;
105 106
106 // SyncEncryptionHandler::Observer implementation. 107 // SyncEncryptionHandler::Observer implementation.
107 virtual void OnPassphraseRequired( 108 virtual void OnPassphraseRequired(
108 syncer::PassphraseRequiredReason reason, 109 syncer::PassphraseRequiredReason reason,
109 const sync_pb::EncryptedData& pending_keys) OVERRIDE; 110 const sync_pb::EncryptedData& pending_keys) OVERRIDE;
110 virtual void OnPassphraseAccepted() OVERRIDE; 111 virtual void OnPassphraseAccepted() OVERRIDE;
111 virtual void OnBootstrapTokenUpdated( 112 virtual void OnBootstrapTokenUpdated(
112 const std::string& bootstrap_token, 113 const std::string& bootstrap_token,
113 syncer::BootstrapTokenType type) OVERRIDE; 114 syncer::BootstrapTokenType type) OVERRIDE;
114 virtual void OnEncryptedTypesChanged( 115 virtual void OnEncryptedTypesChanged(
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 const bool has_sync_setup_completed_; 287 const bool has_sync_setup_completed_;
287 288
288 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 289 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
289 290
290 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 291 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
291 }; 292 };
292 293
293 } // namespace browser_sync 294 } // namespace browser_sync
294 295
295 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 296 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.cc » ('j') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698