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

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
« no previous file with comments | « 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 b55cc3d342d406cd14c017f3bc15ecdb09e3b94a..66026ce3a570f76ceb143c520052384fc9a956f4 100644
--- a/sync/engine/sync_session_job_unittest.cc
+++ b/sync/engine/sync_session_job_unittest.cc
@@ -97,7 +97,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:
@@ -125,7 +124,6 @@ TEST_F(SyncSessionJobTest, Clone) {
EXPECT_NE(job1.session(), clone1->session());
context()->set_routing_info(routes());
- clone1->GrantCanaryPrivilege();
sessions::test_util::SimulateSuccess(clone1->mutable_session(),
clone1->start_step(),
clone1->end_step());
« no previous file with comments | « sync/engine/sync_session_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698