Index: chrome/browser/policy/asynchronous_policy_test_base.h |
diff --git a/chrome/browser/policy/asynchronous_policy_test_base.h b/chrome/browser/policy/asynchronous_policy_test_base.h |
index 7e11d298eeadc2a61c43791e385fa3b090ac3745..7771490edf3f592d1ba659fa65392108aafc8efe 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_; |