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

Unified Diff: sync/engine/sync_session_job_unittest.cc

Issue 12317104: Remove canary member from SyncSessionJob (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
« sync/engine/sync_scheduler_impl.cc ('K') | « sync/engine/sync_session_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_session_job_unittest.cc
diff --git a/sync/engine/sync_session_job_unittest.cc b/sync/engine/sync_session_job_unittest.cc
index f19ade82e69afadf0bae6035acb824ca215739c1..69571294e288ceb2db4702de4dcca088bf3ccc81 100644
--- a/sync/engine/sync_session_job_unittest.cc
+++ b/sync/engine/sync_session_job_unittest.cc
@@ -96,7 +96,6 @@ class SyncSessionJobTest : public testing::Test {
EXPECT_EQ(job->scheduled_start(), clone->scheduled_start());
EXPECT_EQ(job->start_step(), clone->start_step());
EXPECT_EQ(job->end_step(), clone->end_step());
- EXPECT_FALSE(clone->is_canary());
}
private:
@@ -131,7 +130,6 @@ TEST_F(SyncSessionJobTest, Clone) {
EXPECT_EQ(from_here1.ToString(), clone1_loc->from_location().ToString());
context()->set_routing_info(routes());
- clone1->GrantCanaryPrivilege();
sessions::test_util::SimulateSuccess(clone1->mutable_session(),
clone1->start_step(),
clone1->end_step());
« sync/engine/sync_scheduler_impl.cc ('K') | « sync/engine/sync_session_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698