OLD | NEW |
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_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
7 | 7 |
8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 base::ScopedTempDir temp_dir_; | 75 base::ScopedTempDir temp_dir_; |
76 scoped_ptr<TestingProfile> profile_; | 76 scoped_ptr<TestingProfile> profile_; |
77 base::FilePath extensions_install_dir_; | 77 base::FilePath extensions_install_dir_; |
78 base::FilePath data_dir_; | 78 base::FilePath data_dir_; |
79 // Managed by extensions::ExtensionSystemFactory. | 79 // Managed by extensions::ExtensionSystemFactory. |
80 ExtensionService* service_; | 80 ExtensionService* service_; |
81 extensions::ManagementPolicy* management_policy_; | 81 extensions::ManagementPolicy* management_policy_; |
82 size_t expected_extensions_count_; | 82 size_t expected_extensions_count_; |
83 content::TestBrowserThread ui_thread_; | 83 content::TestBrowserThread ui_thread_; |
84 content::TestBrowserThread db_thread_; | 84 content::TestBrowserThread db_thread_; |
85 content::TestBrowserThread webkit_thread_; | |
86 content::TestBrowserThread file_thread_; | 85 content::TestBrowserThread file_thread_; |
87 content::TestBrowserThread file_user_blocking_thread_; | 86 content::TestBrowserThread file_user_blocking_thread_; |
88 content::TestBrowserThread io_thread_; | 87 content::TestBrowserThread io_thread_; |
89 | 88 |
90 #if defined OS_CHROMEOS | 89 #if defined OS_CHROMEOS |
91 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; | 90 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; |
92 chromeos::ScopedTestCrosSettings test_cros_settings_; | 91 chromeos::ScopedTestCrosSettings test_cros_settings_; |
93 chromeos::ScopedTestUserManager test_user_manager_; | 92 chromeos::ScopedTestUserManager test_user_manager_; |
94 #endif | 93 #endif |
95 }; | 94 }; |
96 | 95 |
97 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 96 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
OLD | NEW |