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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem_unittest.cc

Issue 9911029: Refactored the CloudPolicyProvider so that it becomes initialized once and stays initialized. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/cloud_policy_subsystem_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
index aca96d4b9bb6796049ec46a17536a0393790889f..054a2a055767631bff71f2aa33acedf478e68dac 100644
--- a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
@@ -104,11 +104,10 @@ class CloudPolicySubsystemTestBase : public testing::Test {
public:
CloudPolicySubsystemTestBase()
: ui_thread_(BrowserThread::UI, &loop_),
- io_thread_(BrowserThread::IO, &loop_) {
- }
+ file_thread_(BrowserThread::FILE, &loop_),
+ io_thread_(BrowserThread::IO, &loop_) {}
- virtual ~CloudPolicySubsystemTestBase() {
- }
+ virtual ~CloudPolicySubsystemTestBase() {}
protected:
void StopMessageLoop() {
@@ -250,6 +249,7 @@ class CloudPolicySubsystemTestBase : public testing::Test {
MessageLoop loop_;
content::TestBrowserThread ui_thread_;
+ content::TestBrowserThread file_thread_;
content::TestBrowserThread io_thread_;
scoped_ptr<EventLogger> logger_;
« no previous file with comments | « chrome/browser/policy/cloud_policy_provider_unittest.cc ('k') | chrome/browser/policy/configuration_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698