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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_mock.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_MOCK_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; 86 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE;
87 87
88 virtual bool IsCryptographerReady( 88 virtual bool IsCryptographerReady(
89 const syncer::BaseTransaction* trans) const OVERRIDE; 89 const syncer::BaseTransaction* trans) const OVERRIDE;
90 90
91 virtual void GetModelSafeRoutingInfo( 91 virtual void GetModelSafeRoutingInfo(
92 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; 92 syncer::ModelSafeRoutingInfo* out) const OVERRIDE;
93 93
94 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; 94 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE;
95 95
96 virtual void SetForwardProtocolEvents(bool enabled) OVERRIDE; 96 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE;
97 virtual void DisableProtocolEventForwarding() OVERRIDE;
97 98
98 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; 99 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE;
99 100
100 void set_fail_initial_download(bool should_fail); 101 void set_fail_initial_download(bool should_fail);
101 102
102 private: 103 private:
103 bool fail_initial_download_; 104 bool fail_initial_download_;
104 }; 105 };
105 106
106 } // namespace browser_sync 107 } // namespace browser_sync
107 108
108 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 109 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl.cc ('k') | chrome/browser/sync/glue/sync_backend_host_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698