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

Unified Diff: chrome/browser/policy/device_status_collector.cc

Issue 9243007: Add browser version to device status reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove accidentally-added file. Created 8 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/policy/proto/device_management_backend.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_status_collector.cc
diff --git a/chrome/browser/policy/device_status_collector.cc b/chrome/browser/policy/device_status_collector.cc
index 7b23d987c32cf07368300c92d497a643916f3fb1..1715838f55fe0d0e829313e06014a191dd53a3cd 100644
--- a/chrome/browser/policy/device_status_collector.cc
+++ b/chrome/browser/policy/device_status_collector.cc
@@ -10,6 +10,7 @@
#include "chrome/browser/policy/proto/device_management_backend.pb.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prefs/scoped_user_pref_update.h"
+#include "chrome/common/chrome_version_info.h"
using base::Time;
using base::TimeDelta;
@@ -154,6 +155,8 @@ void DeviceStatusCollector::GetStatus(em::DeviceStatusReportRequest* request) {
ListPrefUpdate update(local_state_, kPrefDeviceActivePeriods);
update.Get()->Clear();
+ chrome::VersionInfo version_info;
+ request->set_browser_version(version_info.CreateVersionString());
Mattias Nissler (ping if slow) 2012/01/18 13:54:01 That's cool as long as the string is not getting p
Patrick Dubroy 2012/01/18 14:58:09 Good point -- I think we actually only want the ve
request->set_os_version(os_version_);
request->set_firmware_version(firmware_version_);
}
« no previous file with comments | « no previous file | chrome/browser/policy/proto/device_management_backend.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698