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

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

Issue 212603007: sync: Buffer Protocol Events for about:sync page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 GetLastSessionSnapshot() const OVERRIDE; 117 GetLastSessionSnapshot() const OVERRIDE;
118 virtual bool HasUnsyncedItems() const OVERRIDE; 118 virtual bool HasUnsyncedItems() const OVERRIDE;
119 virtual bool IsNigoriEnabled() const OVERRIDE; 119 virtual bool IsNigoriEnabled() const OVERRIDE;
120 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; 120 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE;
121 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; 121 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE;
122 virtual bool IsCryptographerReady( 122 virtual bool IsCryptographerReady(
123 const syncer::BaseTransaction* trans) const OVERRIDE; 123 const syncer::BaseTransaction* trans) const OVERRIDE;
124 virtual void GetModelSafeRoutingInfo( 124 virtual void GetModelSafeRoutingInfo(
125 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; 125 syncer::ModelSafeRoutingInfo* out) const OVERRIDE;
126 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; 126 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE;
127 virtual void SetForwardProtocolEvents(bool forward) OVERRIDE; 127 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE;
128 virtual void DisableProtocolEventForwarding() OVERRIDE;
128 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; 129 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE;
129 130
130 protected: 131 protected:
131 // The types and functions below are protected so that test 132 // The types and functions below are protected so that test
132 // subclasses can use them. 133 // subclasses can use them.
133 134
134 // Allows tests to perform alternate core initialization work. 135 // Allows tests to perform alternate core initialization work.
135 virtual void InitCore(scoped_ptr<DoInitializeOptions> options); 136 virtual void InitCore(scoped_ptr<DoInitializeOptions> options);
136 137
137 // Request the syncer to reconfigure with the specfied params. 138 // Request the syncer to reconfigure with the specfied params.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 326
326 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 327 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
327 328
328 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 329 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
329 }; 330 };
330 331
331 } // namespace browser_sync 332 } // namespace browser_sync
332 333
333 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 334 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
334 335
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