Commit 850e8aa5 authored by Francois Doray's avatar Francois Doray Committed by Commit Bot

Remove usage of ScopedAsyncTaskScheduler from chrome_component_updater_configurator_unittest.cc.

The ScopedAsyncTaskScheduler in 
chrome_component_updater_configurator_unittest.cc was useless. This CL
simply removes it.

Bug: 708584
Change-Id: Ia1cb9bfb343ddc5810421dc655227128c3a40979
Reviewed-on: https://chromium-review.googlesource.com/591949
Commit-Queue: Francois Doray <fdoray@chromium.org>
Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491806}
parent 6620ff85
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "base/command_line.h" #include "base/command_line.h"
#include "base/memory/ptr_util.h" #include "base/memory/ptr_util.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/test/scoped_async_task_scheduler.h"
#include "chrome/browser/component_updater/chrome_component_updater_configurator.h" #include "chrome/browser/component_updater/chrome_component_updater_configurator.h"
#include "components/component_updater/component_updater_switches.h" #include "components/component_updater/component_updater_switches.h"
#include "components/component_updater/component_updater_url_constants.h" #include "components/component_updater/component_updater_url_constants.h"
...@@ -34,7 +33,6 @@ class ChromeComponentUpdaterConfiguratorTest : public testing::Test { ...@@ -34,7 +33,6 @@ class ChromeComponentUpdaterConfiguratorTest : public testing::Test {
TestingPrefServiceSimple* pref_service() { return pref_service_.get(); } TestingPrefServiceSimple* pref_service() { return pref_service_.get(); }
private: private:
base::test::ScopedAsyncTaskScheduler scoped_async_task_scheduler_;
std::unique_ptr<TestingPrefServiceSimple> pref_service_; std::unique_ptr<TestingPrefServiceSimple> pref_service_;
DISALLOW_COPY_AND_ASSIGN(ChromeComponentUpdaterConfiguratorTest); DISALLOW_COPY_AND_ASSIGN(ChromeComponentUpdaterConfiguratorTest);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment