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

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

Issue 8587017: [Sync] Add version info to about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/resources/sync_internals/about.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_ui_util.cc
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index 7264b48addc47d9d5180c074389d9cfa0e5baca4..8bea9b168b5c1ea895d79f701da78ed8ba017afd 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -18,6 +18,7 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/chrome_version_info.h"
#include "chrome/common/net/gaia/google_service_auth_error.h"
#include "chrome/common/url_constants.h"
#include "grit/browser_resources.h"
@@ -491,6 +492,10 @@ void ConstructAboutInformation(ProfileSyncService* service,
ProfileSyncService::BuildSyncStatusSummaryText(
full_status.summary));
+ chrome::VersionInfo chrome_version;
+ strings->SetString("version", chrome_version.Name() + " " +
akalin 2011/11/17 02:35:02 Does this have more information than the user agen
Nicolas Zea 2011/11/17 03:59:16 Hmm, wasn't aware of that. Interestingly, sync_bac
+ chrome_version.Version() + " (" + chrome_version.OSType() + ") " +
+ chrome_version.GetVersionStringModifier());
strings->Set("authenticated",
new base::FundamentalValue(full_status.authenticated));
strings->SetString("auth_problem",
« no previous file with comments | « chrome/browser/resources/sync_internals/about.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698