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

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

Issue 1081413003: [Sync] Have configuration specify which datatypes are ready to sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix components_unittests Created 5 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool is_explicit) override; 46 bool is_explicit) override;
47 47
48 bool SetDecryptionPassphrase(const std::string& passphrase) override; 48 bool SetDecryptionPassphrase(const std::string& passphrase) override;
49 49
50 void StopSyncingForShutdown() override; 50 void StopSyncingForShutdown() override;
51 51
52 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override; 52 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override;
53 53
54 void UnregisterInvalidationIds() override; 54 void UnregisterInvalidationIds() override;
55 55
56 void ConfigureDataTypes( 56 syncer::ModelTypeSet ConfigureDataTypes(
57 syncer::ConfigureReason reason, 57 syncer::ConfigureReason reason,
58 const DataTypeConfigStateMap& config_state_map, 58 const DataTypeConfigStateMap& config_state_map,
59 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>& 59 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>&
60 ready_task, 60 ready_task,
61 const base::Callback<void()>& retry_callback) override; 61 const base::Callback<void()>& retry_callback) override;
62 62
63 void EnableEncryptEverything() override; 63 void EnableEncryptEverything() override;
64 64
65 void ActivateDataType( 65 void ActivateDataType(
66 syncer::ModelType type, 66 syncer::ModelType type,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 void set_fail_initial_download(bool should_fail); 108 void set_fail_initial_download(bool should_fail);
109 109
110 private: 110 private:
111 bool fail_initial_download_; 111 bool fail_initial_download_;
112 }; 112 };
113 113
114 } // namespace browser_sync 114 } // namespace browser_sync
115 115
116 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 116 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl_unittest.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