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

Side by Side Diff: sync/internal_api/test/fake_sync_manager.cc

Issue 403103002: Prep for moving files into components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/tools/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sync/internal_api/public/test/fake_sync_manager.h" 5 #include "sync/internal_api/public/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/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/sequenced_task_runner.h" 14 #include "base/sequenced_task_runner.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
17 #include "sync/internal_api/public/base/invalidator_state.h"
18 #include "sync/internal_api/public/http_post_provider_factory.h" 17 #include "sync/internal_api/public/http_post_provider_factory.h"
19 #include "sync/internal_api/public/internal_components_factory.h" 18 #include "sync/internal_api/public/internal_components_factory.h"
20 #include "sync/internal_api/public/util/weak_handle.h" 19 #include "sync/internal_api/public/util/weak_handle.h"
21 #include "sync/syncable/directory.h" 20 #include "sync/syncable/directory.h"
22 #include "sync/test/fake_sync_encryption_handler.h" 21 #include "sync/test/fake_sync_encryption_handler.h"
23 22
24 namespace syncer { 23 namespace syncer {
25 24
26 FakeSyncManager::FakeSyncManager(ModelTypeSet initial_sync_ended_types, 25 FakeSyncManager::FakeSyncManager(ModelTypeSet initial_sync_ended_types,
27 ModelTypeSet progress_marker_types, 26 ModelTypeSet progress_marker_types,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 267
269 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { 268 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() {
270 return last_refresh_request_types_; 269 return last_refresh_request_types_;
271 } 270 }
272 271
273 void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) { 272 void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) {
274 // Do nothing. 273 // Do nothing.
275 } 274 }
276 275
277 } // namespace syncer 276 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698