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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) Created 5 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
Index: chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc
index 0075ce010dd25eb78bd45aa76718167d747e5a47..536f273e5cc140f0b1a6e4a7d630b68f39b52d25 100644
--- a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc
@@ -21,17 +21,16 @@ void CollectPlatformProcessData(
namespace {
ClientIncidentReport_EnvironmentData_Process_Channel MapChannelToProtobuf(
- chrome::VersionInfo::Channel channel) {
- typedef chrome::VersionInfo VersionInfo;
+ version_info::Channel channel) {
typedef ClientIncidentReport_EnvironmentData_Process Process;
switch (channel) {
- case VersionInfo::CHANNEL_CANARY:
+ case version_info::CHANNEL_CANARY:
return Process::CHANNEL_CANARY;
- case VersionInfo::CHANNEL_DEV:
+ case version_info::CHANNEL_DEV:
return Process::CHANNEL_DEV;
- case VersionInfo::CHANNEL_BETA:
+ case version_info::CHANNEL_BETA:
return Process::CHANNEL_BETA;
- case VersionInfo::CHANNEL_STABLE:
+ case version_info::CHANNEL_STABLE:
return Process::CHANNEL_STABLE;
default:
return Process::CHANNEL_UNKNOWN;

Powered by Google App Engine
This is Rietveld 408576698