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

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

Issue 1410013008: [Sync] Remove some http-related chrome deps from SyncBackendHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 1 month 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 21 matching lines...) Expand all
32 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread, 32 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread,
33 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, 33 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
34 const GURL& service_url, 34 const GURL& service_url,
35 const std::string& sync_user_agent, 35 const std::string& sync_user_agent,
36 const syncer::SyncCredentials& credentials, 36 const syncer::SyncCredentials& credentials,
37 bool delete_sync_data_folder, 37 bool delete_sync_data_folder,
38 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, 38 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory,
39 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>& 39 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>&
40 unrecoverable_error_handler, 40 unrecoverable_error_handler,
41 const base::Closure& report_unrecoverable_error_function, 41 const base::Closure& report_unrecoverable_error_function,
42 syncer::NetworkResources* network_resources, 42 const HttpPostProviderFactoryGetter& http_post_provider_factory_getter,
43 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state) 43 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state)
44 override; 44 override;
45 45
46 void TriggerRefresh(const syncer::ModelTypeSet& types) override; 46 void TriggerRefresh(const syncer::ModelTypeSet& types) override;
47 47
48 void UpdateCredentials(const syncer::SyncCredentials& credentials) override; 48 void UpdateCredentials(const syncer::SyncCredentials& credentials) override;
49 49
50 void StartSyncingWithServer() override; 50 void StartSyncingWithServer() override;
51 51
52 void SetEncryptionPassphrase(const std::string& passphrase, 52 void SetEncryptionPassphrase(const std::string& passphrase,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 void set_fail_initial_download(bool should_fail); 123 void set_fail_initial_download(bool should_fail);
124 124
125 private: 125 private:
126 bool fail_initial_download_; 126 bool fail_initial_download_;
127 }; 127 };
128 128
129 } // namespace browser_sync 129 } // namespace browser_sync
130 130
131 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 131 #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