| 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 9ec01c46b39266d835cd4d58604207f07dc775c8..31585bff27bae8525d4ee5f26200cb44ccf97439 100644
|
| --- a/components/gcm_driver/instance_id/instance_id_driver.cc
|
| +++ b/components/gcm_driver/instance_id/instance_id_driver.cc
|
| @@ -4,28 +4,18 @@
|
|
|
| #include "components/gcm_driver/instance_id/instance_id_driver.h"
|
|
|
| -#include "base/metrics/field_trial.h"
|
| #include "build/build_config.h"
|
| #include "components/gcm_driver/instance_id/instance_id.h"
|
|
|
| namespace instance_id {
|
|
|
| -namespace {
|
| -#if !defined(OS_ANDROID)
|
| -const char kInstanceIDFieldTrialName[] = "InstanceID";
|
| -const char kInstanceIDFieldTrialEnabledGroupName[] = "Enabled";
|
| -#endif // !defined(OS_ANDROID)
|
| -} // namespace
|
| -
|
| // static
|
| bool InstanceIDDriver::IsInstanceIDEnabled() {
|
| #if defined(OS_ANDROID)
|
| // Not implemented yet.
|
| return false;
|
| #else
|
| - std::string group_name =
|
| - base::FieldTrialList::FindFullName(kInstanceIDFieldTrialName);
|
| - return group_name == kInstanceIDFieldTrialEnabledGroupName;
|
| + return true;
|
| #endif // defined(OS_ANDROID)
|
| }
|
|
|
|
|