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

Unified Diff: sync/engine/sync_scheduler_whitebox_unittest.cc

Issue 12320027: Remove SyncSessionJob's location member (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/sync_scheduler_impl.cc ('k') | sync/engine/sync_session_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler_whitebox_unittest.cc
diff --git a/sync/engine/sync_scheduler_whitebox_unittest.cc b/sync/engine/sync_scheduler_whitebox_unittest.cc
index 383f17d01fd541ab1002d96b007436282fa9321f..803d13fa1578fe7fff09c0bff8c5edbaad9a088f 100644
--- a/sync/engine/sync_scheduler_whitebox_unittest.cc
+++ b/sync/engine/sync_scheduler_whitebox_unittest.cc
@@ -105,7 +105,7 @@ class SyncSchedulerWhiteboxTest : public testing::Test {
SyncSessionJob::Purpose purpose) {
scoped_ptr<SyncSession> s(scheduler_->CreateSyncSession(SyncSourceInfo()));
SyncSessionJob job(purpose, TimeTicks::Now(), s.Pass(),
- ConfigurationParams(), FROM_HERE);
+ ConfigurationParams());
return DecideOnJob(job);
}
@@ -156,8 +156,7 @@ TEST_F(SyncSchedulerWhiteboxTest, SaveNudgeWhileTypeThrottled) {
SyncSessionJob job(SyncSessionJob::NUDGE,
TimeTicks::Now(),
s.Pass(),
- ConfigurationParams(),
- FROM_HERE);
+ ConfigurationParams());
SyncSchedulerImpl::JobProcessDecision decision = DecideOnJob(job);
EXPECT_EQ(decision, SyncSchedulerImpl::SAVE);
}
@@ -254,7 +253,7 @@ TEST_F(SyncSchedulerWhiteboxTest, ContinueCanaryJobConfig) {
SyncSessionJob job(SyncSessionJob::CONFIGURATION,
TimeTicks::Now(), scoped_ptr<SyncSession>(),
- ConfigurationParams(), FROM_HERE);
+ ConfigurationParams());
job.GrantCanaryPrivilege();
SyncSchedulerImpl::JobProcessDecision decision = DecideOnJob(job);
« no previous file with comments | « sync/engine/sync_scheduler_impl.cc ('k') | sync/engine/sync_session_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698