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

Unified Diff: chrome/installer/util/channel_info.cc

Issue 2081333002: Change value separateor for stsdef to underscore(_) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change value separateor for stsdef to underscore(_) Created 4 years, 6 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 | « chrome/installer/util/channel_info.h ('k') | chrome/installer/util/channel_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/channel_info.cc
diff --git a/chrome/installer/util/channel_info.cc b/chrome/installer/util/channel_info.cc
index dae2c4e913fedfa5e77d747e550a0c00676e0ec0..3e138563f043b787831cf68962741963edc36649 100644
--- a/chrome/installer/util/channel_info.cc
+++ b/chrome/installer/util/channel_info.cc
@@ -25,7 +25,7 @@ const wchar_t kModAppLauncherDeprecated[] = L"-applauncher";
const wchar_t kModMultiInstall[] = L"-multi";
const wchar_t kModReadyMode[] = L"-readymode";
const wchar_t kModStage[] = L"-stage:";
-const wchar_t kModStatsDefault[] = L"-statsdef=";
+const wchar_t kModStatsDefault[] = L"-statsdef_";
const wchar_t kSfxFull[] = L"-full";
const wchar_t kSfxMigrating[] = L"-migrating";
const wchar_t kSfxMultiFail[] = L"-multifail";
@@ -74,7 +74,7 @@ bool FindModifier(ModifierIndex index,
base::string16::size_type mod_length =
base::string16::traits_type::length(kModifiers[index]);
char last_char = kModifiers[index][mod_length - 1];
- const bool mod_takes_arg = (last_char == L':' || last_char == L'=');
+ const bool mod_takes_arg = (last_char == L':' || last_char == L'_');
base::string16::size_type pos = 0;
do {
mod_position = ap_value.find(kModifiers[index], pos, mod_length);
« no previous file with comments | « chrome/installer/util/channel_info.h ('k') | chrome/installer/util/channel_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698