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

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

Issue 217183003: Add non-blocking sync code to ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 virtual void EnableEncryptEverything() OVERRIDE; 66 virtual void EnableEncryptEverything() OVERRIDE;
67 67
68 virtual void ActivateDataType( 68 virtual void ActivateDataType(
69 syncer::ModelType type, syncer::ModelSafeGroup group, 69 syncer::ModelType type, syncer::ModelSafeGroup group,
70 ChangeProcessor* change_processor) OVERRIDE; 70 ChangeProcessor* change_processor) OVERRIDE;
71 virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE; 71 virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE;
72 72
73 virtual syncer::UserShare* GetUserShare() const OVERRIDE; 73 virtual syncer::UserShare* GetUserShare() const OVERRIDE;
74 74
75 virtual syncer::SyncCoreProxy GetSyncCoreProxy() OVERRIDE;
76
75 virtual Status GetDetailedStatus() OVERRIDE; 77 virtual Status GetDetailedStatus() OVERRIDE;
76 78
77 virtual syncer::sessions::SyncSessionSnapshot 79 virtual syncer::sessions::SyncSessionSnapshot
78 GetLastSessionSnapshot() const OVERRIDE; 80 GetLastSessionSnapshot() const OVERRIDE;
79 81
80 virtual bool HasUnsyncedItems() const OVERRIDE; 82 virtual bool HasUnsyncedItems() const OVERRIDE;
81 83
82 virtual bool IsNigoriEnabled() const OVERRIDE; 84 virtual bool IsNigoriEnabled() const OVERRIDE;
83 85
84 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; 86 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE;
(...skipping 15 matching lines...) Expand all
100 102
101 void set_fail_initial_download(bool should_fail); 103 void set_fail_initial_download(bool should_fail);
102 104
103 private: 105 private:
104 bool fail_initial_download_; 106 bool fail_initial_download_;
105 }; 107 };
106 108
107 } // namespace browser_sync 109 } // namespace browser_sync
108 110
109 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 111 #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