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

Side by Side Diff: sync/engine/sync_scheduler_whitebox_unittest.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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/engine/sync_scheduler_unittest.cc ('k') | sync/engine/syncer.h » ('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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/time.h" 6 #include "base/time.h"
7 #include "chrome/browser/sync/engine/sync_scheduler.h" 7 #include "sync/engine/sync_scheduler.h"
8 #include "chrome/browser/sync/sessions/sync_session_context.h" 8 #include "sync/sessions/sync_session_context.h"
9 #include "chrome/browser/sync/sessions/test_util.h" 9 #include "sync/sessions/test_util.h"
10 #include "chrome/browser/sync/test/engine/fake_model_safe_worker_registrar.h" 10 #include "sync/test/engine/fake_model_safe_worker_registrar.h"
11 #include "chrome/browser/sync/test/engine/test_directory_setter_upper.h" 11 #include "sync/test/engine/mock_connection_manager.h"
12 #include "chrome/browser/sync/test/engine/mock_connection_manager.h" 12 #include "sync/test/engine/test_directory_setter_upper.h"
13 #include "chrome/browser/sync/test/fake_extensions_activity_monitor.h" 13 #include "sync/test/fake_extensions_activity_monitor.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using base::TimeDelta; 17 using base::TimeDelta;
18 using base::TimeTicks; 18 using base::TimeTicks;
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 using browser_sync::Syncer; 21 using browser_sync::Syncer;
22 using sessions::SyncSession; 22 using sessions::SyncSession;
23 using sessions::SyncSessionContext; 23 using sessions::SyncSessionContext;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 struct SyncScheduler::SyncSessionJob job; 267 struct SyncScheduler::SyncSessionJob job;
268 job.purpose = SyncScheduler::SyncSessionJob::CONFIGURATION; 268 job.purpose = SyncScheduler::SyncSessionJob::CONFIGURATION;
269 job.scheduled_start = TimeTicks::Now(); 269 job.scheduled_start = TimeTicks::Now();
270 job.is_canary_job = true; 270 job.is_canary_job = true;
271 SyncScheduler::JobProcessDecision decision = DecideOnJob(job); 271 SyncScheduler::JobProcessDecision decision = DecideOnJob(job);
272 272
273 EXPECT_EQ(decision, SyncScheduler::CONTINUE); 273 EXPECT_EQ(decision, SyncScheduler::CONTINUE);
274 } 274 }
275 275
276 } // namespace browser_sync 276 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/sync_scheduler_unittest.cc ('k') | sync/engine/syncer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698