summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/asynchronous_policy_test_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/asynchronous_policy_test_base.h')
-rw-r--r--chrome/browser/policy/asynchronous_policy_test_base.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/policy/asynchronous_policy_test_base.h b/chrome/browser/policy/asynchronous_policy_test_base.h
index 7e11d29..7771490 100644
--- a/chrome/browser/policy/asynchronous_policy_test_base.h
+++ b/chrome/browser/policy/asynchronous_policy_test_base.h
@@ -34,15 +34,11 @@ class AsynchronousPolicyTestBase : public testing::Test {
virtual ~AsynchronousPolicyTestBase();
// testing::Test:
- virtual void SetUp();
virtual void TearDown();
protected:
- MessageLoop loop_;
-
- // The mocks that are used in the test must outlive the scope of the test
- // because they still get accessed in the RunAllPending of the TearDown.
- scoped_ptr<ProviderDelegateMock> delegate_;
+ // Create an actual IO loop (needed by FilePathWatcher).
+ MessageLoopForIO loop_;
private:
content::TestBrowserThread ui_thread_;