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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 6800028: Verify that sync updates_received is 0 on browser restart (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 8 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 | « no previous file | chrome/test/functional/sync.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 467835ce4ea231ba2371815f73318146e17d0af3..20bb6dab7a1b4e66be05dfd430ccc358871b04f2 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -4047,6 +4047,7 @@ void TestingAutomationProvider::SignInToSync(Browser* browser,
// u'last synced': u'Just now',
// u'summary': u'READY',
// u'sync url': u'clients4.google.com',
+// u'updates received': 42,
// u'synced datatypes': [ u'Bookmarks',
// u'Preferences',
// u'Passwords',
@@ -4074,6 +4075,7 @@ void TestingAutomationProvider::GetSyncInfo(Browser* browser,
sync_info->SetString("sync url", service->sync_service_url().host());
sync_info->SetBoolean("authenticated", status.authenticated);
sync_info->SetString("last synced", service->GetLastSyncedTimeString());
+ sync_info->SetInteger("updates received", status.updates_received);
ListValue* synced_datatype_list = new ListValue;
syncable::ModelTypeSet synced_datatypes;
service->GetPreferredDataTypes(&synced_datatypes);
« no previous file with comments | « no previous file | chrome/test/functional/sync.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698