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

Side by Side Diff: components/sync/core_impl/test/fake_sync_manager.cc

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Use SyncServerConnectionManager instead of ServerConnectionManagerImpl. Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "components/sync/core/test/fake_sync_manager.h" 5 #include "components/sync/core/test/fake_sync_manager.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/sequenced_task_runner.h" 15 #include "base/sequenced_task_runner.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "components/sync/base/weak_handle.h" 18 #include "components/sync/base/weak_handle.h"
19 #include "components/sync/core/http_post_provider_factory.h"
20 #include "components/sync/core/internal_components_factory.h" 19 #include "components/sync/core/internal_components_factory.h"
21 #include "components/sync/core/test/fake_model_type_connector.h" 20 #include "components/sync/core/test/fake_model_type_connector.h"
21 #include "components/sync/engine/net/http_post_provider_factory.h"
22 #include "components/sync/syncable/directory.h" 22 #include "components/sync/syncable/directory.h"
23 #include "components/sync/test/fake_sync_encryption_handler.h" 23 #include "components/sync/test/fake_sync_encryption_handler.h"
24 24
25 class GURL; 25 class GURL;
26 26
27 namespace syncer { 27 namespace syncer {
28 28
29 FakeSyncManager::FakeSyncManager(ModelTypeSet initial_sync_ended_types, 29 FakeSyncManager::FakeSyncManager(ModelTypeSet initial_sync_ended_types,
30 ModelTypeSet progress_marker_types, 30 ModelTypeSet progress_marker_types,
31 ModelTypeSet configure_fail_types) 31 ModelTypeSet configure_fail_types)
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } 258 }
259 259
260 void FakeSyncManager::ClearServerData(const ClearServerDataCallback& callback) { 260 void FakeSyncManager::ClearServerData(const ClearServerDataCallback& callback) {
261 callback.Run(); 261 callback.Run();
262 } 262 }
263 263
264 void FakeSyncManager::OnCookieJarChanged(bool account_mismatch, 264 void FakeSyncManager::OnCookieJarChanged(bool account_mismatch,
265 bool empty_jar) {} 265 bool empty_jar) {}
266 266
267 } // namespace syncer 267 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698