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

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

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert SyncShareRecords to typedef Created 7 years, 5 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/profile_sync_service_harness.cc » ('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 1b9d149658435e9815bf829bc252bf604bcbe762..bdf141137a8d428f01e6becda44b11b1f453a951 100644
--- a/chrome/browser/sync/about_sync_util.cc
+++ b/chrome/browser/sync/about_sync_util.cc
@@ -335,8 +335,11 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
}
if (snapshot.is_initialized()) {
- session_source.SetValue(
- syncer::GetUpdatesSourceString(snapshot.source().updates_source));
+ if (snapshot.legacy_updates_source() !=
+ sync_pb::GetUpdatesCallerInfo::UNKNOWN) {
+ session_source.SetValue(
+ syncer::GetUpdatesSourceString(snapshot.legacy_updates_source()));
+ }
get_key_result.SetValue(
GetSyncerErrorString(
snapshot.model_neutral_state().last_get_key_result));
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698