| Index: chrome/browser/browser_process_impl.cc
|
| diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
|
| index 80e87c655e8a7f60ac302e29196f0bd62005ba54..202f14808533f9b76ff89440c79f346856fbc9bd 100644
|
| --- a/chrome/browser/browser_process_impl.cc
|
| +++ b/chrome/browser/browser_process_impl.cc
|
| @@ -41,7 +41,6 @@
|
| #include "chrome/browser/net/predictor_api.h"
|
| #include "chrome/browser/net/sdch_dictionary_fetcher.h"
|
| #include "chrome/browser/notifications/notification_ui_manager.h"
|
| -#include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/plugin_data_remover.h"
|
| #include "chrome/browser/policy/browser_policy_connector.h"
|
| #include "chrome/browser/prefs/browser_prefs.h"
|
| @@ -1015,16 +1014,10 @@ bool BrowserProcessImpl::IsSafeBrowsingDetectionServiceEnabled() {
|
| #ifdef OS_CHROMEOS
|
| return false;
|
| #else
|
| - std::string channel = platform_util::GetVersionStringModifier();
|
| return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableClientSidePhishingDetection) &&
|
| safe_browsing_service() &&
|
| - safe_browsing_service()->CanReportStats() &&
|
| - // TODO(noelutz): use platform_util::GetChannel() once it has been
|
| - // pushed to the release branch.
|
| - (channel == "beta" || channel == "dev" || channel == "canary" ||
|
| - channel == "beta-m" || channel == "dev-m" || channel == "canary-m");
|
| -
|
| + safe_browsing_service()->CanReportStats();
|
| #endif
|
| }
|
|
|
|
|