| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 037c3a72a513fd67b1f9ad42e97590075a3a4093..96c9bf29101755209eadb5e318d6ea1f80cf60ea 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -40,7 +40,6 @@
|
| #include "chrome/browser/background/background_contents_service.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| -#include "chrome/browser/component_updater/chrome_component_updater_configurator.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/devtools/devtools_window_testing.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| @@ -3776,16 +3775,9 @@
|
| void ComponentUpdaterPolicyTest::BeginTest() {
|
| cus_ = g_browser_process->component_updater();
|
|
|
| - const auto config = component_updater::MakeChromeComponentUpdaterConfigurator(
|
| - base::CommandLine::ForCurrentProcess(), nullptr,
|
| - g_browser_process->local_state());
|
| - const auto urls = config->UpdateUrl();
|
| - ASSERT_TRUE(urls.size());
|
| - const GURL url = urls.front();
|
| -
|
| interceptor_factory_ =
|
| base::MakeUnique<update_client::URLRequestPostInterceptorFactory>(
|
| - url.scheme(), url.host(),
|
| + "https", "clients2.google.com",
|
| BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
|
|
|
| post_interceptor_ = interceptor_factory_->CreateInterceptor(
|
|
|