Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_test.h

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class PolicyTestBase : public testing::Test { 45 class PolicyTestBase : public testing::Test {
46 public: 46 public:
47 PolicyTestBase(); 47 PolicyTestBase();
48 virtual ~PolicyTestBase(); 48 virtual ~PolicyTestBase();
49 49
50 // testing::Test: 50 // testing::Test:
51 virtual void TearDown() OVERRIDE; 51 virtual void TearDown() OVERRIDE;
52 52
53 protected: 53 protected:
54 // Create an actual IO loop (needed by FilePathWatcher). 54 // Create an actual IO loop (needed by FilePathWatcher).
55 MessageLoopForIO loop_; 55 base::MessageLoopForIO loop_;
56 56
57 private: 57 private:
58 content::TestBrowserThread ui_thread_; 58 content::TestBrowserThread ui_thread_;
59 content::TestBrowserThread file_thread_; 59 content::TestBrowserThread file_thread_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(PolicyTestBase); 61 DISALLOW_COPY_AND_ASSIGN(PolicyTestBase);
62 }; 62 };
63 63
64 // An interface for creating a test policy provider and creating a policy 64 // An interface for creating a test policy provider and creating a policy
65 // provider instance for testing. Used as the parameter to the abstract 65 // provider instance for testing. Used as the parameter to the abstract
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 Configuration3rdPartyPolicyProviderTest(); 145 Configuration3rdPartyPolicyProviderTest();
146 virtual ~Configuration3rdPartyPolicyProviderTest(); 146 virtual ~Configuration3rdPartyPolicyProviderTest();
147 147
148 private: 148 private:
149 DISALLOW_COPY_AND_ASSIGN(Configuration3rdPartyPolicyProviderTest); 149 DISALLOW_COPY_AND_ASSIGN(Configuration3rdPartyPolicyProviderTest);
150 }; 150 };
151 151
152 } // namespace policy 152 } // namespace policy
153 153
154 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_ 154 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store_unittest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698