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

Unified Diff: ios/chrome/browser/ios_chrome_main_parts.mm

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: ios/chrome/browser/ios_chrome_main_parts.mm
diff --git a/ios/chrome/browser/ios_chrome_main_parts.mm b/ios/chrome/browser/ios_chrome_main_parts.mm
index 722cad2bed9daa63425805ca552ac0badeaa4cec..c9da00a4e8d855157b9ee94a570d27f148d235ba 100644
--- a/ios/chrome/browser/ios_chrome_main_parts.mm
+++ b/ios/chrome/browser/ios_chrome_main_parts.mm
@@ -246,8 +246,7 @@ void IOSChromeMainParts::SetupFieldTrials() {
bool result = base::FieldTrialList::CreateTrialsFromString(
command_line->GetSwitchValueASCII(switches::kForceFieldTrials),
std::set<std::string>());
- CHECK(result) << "Invalid --" << switches::kForceFieldTrials
- << " list specified.";
+ CHECK(result);
}
std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
@@ -265,8 +264,7 @@ void IOSChromeMainParts::SetupFieldTrials() {
bool result = http_header_provider->ForceVariationIds(
command_line->GetSwitchValueASCII(switches::kIOSForceVariationIds),
&variation_ids);
- CHECK(result) << "Invalid list of variation ids specified (either in --"
- << switches::kIOSForceVariationIds << " or in chrome://flags)";
+ CHECK(result);
feature_list->InitializeFromCommandLine(
command_line->GetSwitchValueASCII(switches::kEnableIOSFeatures),

Powered by Google App Engine
This is Rietveld 408576698