Commit 4be3d48b authored by Greg Thompson's avatar Greg Thompson Committed by Commit Bot

IWYU fix in adapter_unittest.cc.

Also move ScopedTempDir so that it's cleaned after BrowserTaskEnvironment.

BUG=546640
R=amoylan@chromium.org


Change-Id: I21361f3d8c40c58ac51ccd4f14638252cd1078f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899611
Auto-Submit: Greg Thompson <grt@chromium.org>
Reviewed-by: default avatarAndrew Moylan <amoylan@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712924}
parent cc35c130
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <vector> #include <vector>
#include "ash/public/cpp/ash_pref_names.h" #include "ash/public/cpp/ash_pref_names.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ptr_util.h" #include "base/memory/ptr_util.h"
#include "base/task/thread_pool/thread_pool_instance.h" #include "base/task/thread_pool/thread_pool_instance.h"
#include "base/test/metrics/histogram_tester.h" #include "base/test/metrics/histogram_tester.h"
...@@ -277,11 +278,11 @@ class AdapterTest : public testing::Test { ...@@ -277,11 +278,11 @@ class AdapterTest : public testing::Test {
} }
protected: protected:
base::ScopedTempDir temp_dir_;
content::BrowserTaskEnvironment task_environment_; content::BrowserTaskEnvironment task_environment_;
TestObserver test_observer_; TestObserver test_observer_;
base::ScopedTempDir temp_dir_;
std::unique_ptr<TestingProfile> profile_; std::unique_ptr<TestingProfile> profile_;
base::Optional<MonotoneCubicSpline> global_curve_; base::Optional<MonotoneCubicSpline> global_curve_;
......
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