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 // An implementation of BrowserProcess for unit tests that fails for most | 5 // An implementation of BrowserProcess for unit tests that fails for most |
6 // services. By preventing creation of services, we reduce dependencies and | 6 // services. By preventing creation of services, we reduce dependencies and |
7 // keep the profile clean. Clients of this class must handle the NULL return | 7 // keep the profile clean. Clients of this class must handle the NULL return |
8 // value, however. | 8 // value, however. |
9 | 9 |
10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
11 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 11 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
12 | 12 |
13 #include <stdint.h> | 13 #include <stdint.h> |
14 | 14 |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 | 17 |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
22 #include "chrome/browser/browser_process_platform_part.h" | 22 #include "chrome/browser/browser_process_platform_part.h" |
23 #include "extensions/features/features.h" | 23 #include "extensions/features/features.h" |
24 #include "media/media_features.h" | 24 #include "media/media_features.h" |
25 #include "printing/features/features.h" | 25 #include "printing/features/features.h" |
26 | 26 |
27 class BackgroundModeManager; | 27 class BackgroundModeManager; |
28 class CRLSetFetcher; | 28 class CRLSetFetcher; |
29 class IOThread; | 29 class IOThread; |
30 class MHTMLGenerationManager; | |
31 class NotificationPlatformBridge; | 30 class NotificationPlatformBridge; |
32 class NotificationUIManager; | 31 class NotificationUIManager; |
33 class PrefService; | 32 class PrefService; |
34 class WatchDogThread; | 33 class WatchDogThread; |
35 | 34 |
36 namespace content { | 35 namespace content { |
37 class NotificationService; | 36 class NotificationService; |
38 } | 37 } |
39 | 38 |
40 namespace extensions { | 39 namespace extensions { |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 class TestingBrowserProcessInitializer { | 223 class TestingBrowserProcessInitializer { |
225 public: | 224 public: |
226 TestingBrowserProcessInitializer(); | 225 TestingBrowserProcessInitializer(); |
227 ~TestingBrowserProcessInitializer(); | 226 ~TestingBrowserProcessInitializer(); |
228 | 227 |
229 private: | 228 private: |
230 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); | 229 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); |
231 }; | 230 }; |
232 | 231 |
233 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 232 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
OLD | NEW |