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

Unified Diff: chrome/browser/sync/about_sync_util.cc

Issue 12092091: Separate sync and invalidation client IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/browser/sync/glue/android_invalidator_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/about_sync_util.cc
diff --git a/chrome/browser/sync/about_sync_util.cc b/chrome/browser/sync/about_sync_util.cc
index e696273554e8d932ccd03a0f9be202e64a90cad0..46960e0f1143f5ef8df919e088fe197b9da230bd 100644
--- a/chrome/browser/sync/about_sync_util.cc
+++ b/chrome/browser/sync/about_sync_util.cc
@@ -179,7 +179,8 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
StringSyncStat server_url(section_version, "Server URL");
ListValue* section_credentials = AddSection(stats_list, kCredentialsTitle);
- StringSyncStat client_id(section_credentials, "Client ID");
+ StringSyncStat sync_id(section_credentials, "Sync Client ID");
+ StringSyncStat invalidator_id(section_credentials, "Invalidator Client ID");
StringSyncStat username(section_credentials, "Username");
BoolSyncStat is_token_available(section_credentials, "Sync Token Available");
@@ -288,8 +289,10 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
server_url.SetValue(service->sync_service_url().spec());
- if (is_status_valid && !full_status.unique_id.empty())
- client_id.SetValue(full_status.unique_id);
+ if (is_status_valid && !full_status.sync_id.empty())
+ sync_id.SetValue(full_status.sync_id);
+ if (is_status_valid && !full_status.invalidator_client_id.empty())
+ invalidator_id.SetValue(full_status.invalidator_client_id);
if (service->signin())
username.SetValue(service->signin()->GetAuthenticatedUsername());
is_token_available.SetValue(service->IsSyncTokenAvailable());
« no previous file with comments | « no previous file | chrome/browser/sync/glue/android_invalidator_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698