| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void InitializeExtensionService(const ExtensionServiceInitParams& params); | 47 void InitializeExtensionService(const ExtensionServiceInitParams& params); |
| 48 | 48 |
| 49 void InitializeInstalledExtensionService( | 49 void InitializeInstalledExtensionService( |
| 50 const base::FilePath& prefs_file, | 50 const base::FilePath& prefs_file, |
| 51 const base::FilePath& source_install_dir); | 51 const base::FilePath& source_install_dir); |
| 52 | 52 |
| 53 void InitializeGoodInstalledExtensionService(); | 53 void InitializeGoodInstalledExtensionService(); |
| 54 | 54 |
| 55 void InitializeEmptyExtensionService(); | 55 void InitializeEmptyExtensionService(); |
| 56 | 56 |
| 57 void InitializeExtensionProcessManager(); | 57 void InitializeProcessManager(); |
| 58 | 58 |
| 59 void InitializeExtensionServiceWithUpdater(); | 59 void InitializeExtensionServiceWithUpdater(); |
| 60 | 60 |
| 61 void InitializeExtensionSyncService(); | 61 void InitializeExtensionSyncService(); |
| 62 | 62 |
| 63 static void SetUpTestCase(); | 63 static void SetUpTestCase(); |
| 64 | 64 |
| 65 virtual void SetUp() OVERRIDE; | 65 virtual void SetUp() OVERRIDE; |
| 66 virtual void TearDown() OVERRIDE; | 66 virtual void TearDown() OVERRIDE; |
| 67 | 67 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 87 size_t expected_extensions_count_; | 87 size_t expected_extensions_count_; |
| 88 | 88 |
| 89 #if defined OS_CHROMEOS | 89 #if defined OS_CHROMEOS |
| 90 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; | 90 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; |
| 91 chromeos::ScopedTestCrosSettings test_cros_settings_; | 91 chromeos::ScopedTestCrosSettings test_cros_settings_; |
| 92 chromeos::ScopedTestUserManager test_user_manager_; | 92 chromeos::ScopedTestUserManager test_user_manager_; |
| 93 #endif | 93 #endif |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ | 96 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ |
| OLD | NEW |