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

Unified Diff: components/gcm_driver/instance_id/instance_id_driver.cc

Issue 1854093002: Enable InstanceID field trial by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid3test
Patch Set: Rebase Created 4 years, 8 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: components/gcm_driver/instance_id/instance_id_driver.cc
diff --git a/components/gcm_driver/instance_id/instance_id_driver.cc b/components/gcm_driver/instance_id/instance_id_driver.cc
index 937d77b4bb416cadd1d672bb16d9feffc21bfb78..7a9de7abb1487869b992885df0766fcc125e9933 100644
--- a/components/gcm_driver/instance_id/instance_id_driver.cc
+++ b/components/gcm_driver/instance_id/instance_id_driver.cc
@@ -13,14 +13,14 @@ namespace instance_id {
namespace {
const char kInstanceIDFieldTrialName[] = "InstanceID";
-const char kInstanceIDFieldTrialEnabledGroupName[] = "Enabled";
+const char kInstanceIDFieldTrialDisabledGroupName[] = "Disabled";
} // namespace
// static
bool InstanceIDDriver::IsInstanceIDEnabled() {
std::string group_name =
base::FieldTrialList::FindFullName(kInstanceIDFieldTrialName);
- return group_name == kInstanceIDFieldTrialEnabledGroupName;
+ return group_name != kInstanceIDFieldTrialDisabledGroupName;
}
InstanceIDDriver::InstanceIDDriver(gcm::GCMDriver* gcm_driver)

Powered by Google App Engine
This is Rietveld 408576698