| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 12 #pragma once |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
| 18 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
| 19 #include "content/browser/notification_service_impl.h" | 19 #include "content/browser/notification_service_impl.h" |
| 20 | 20 |
| 21 class BackgroundModeManager; | 21 class BackgroundModeManager; |
| 22 class CRLSetFetcher; | 22 class CRLSetFetcher; |
| 23 class IOThread; | 23 class IOThread; |
| 24 class GoogleURLTracker; | 24 class GoogleURLTracker; |
| 25 class MHTMLGenerationManager; | 25 class MHTMLGenerationManager; |
| 26 class NotificationUIManager; | 26 class NotificationUIManager; |
| 27 class PrefService; | 27 class PrefService; |
| 28 class WatchDogThread; | 28 class WatchDogThread; |
| 29 | 29 |
| 30 namespace base { | |
| 31 class WaitableEvent; | |
| 32 } | |
| 33 | |
| 34 namespace policy { | 30 namespace policy { |
| 35 class BrowserPolicyConnector; | 31 class BrowserPolicyConnector; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace prerender { | 34 namespace prerender { |
| 39 class PrerenderTracker; | 35 class PrerenderTracker; |
| 40 } | 36 } |
| 41 | 37 |
| 42 namespace ui { | 38 namespace ui { |
| 43 class Clipboard; | 39 class Clipboard; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 141 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 146 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 142 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 147 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; | 143 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; |
| 148 IOThread* io_thread_; | 144 IOThread* io_thread_; |
| 149 scoped_ptr<DevToolsManager> devtools_manager_; | 145 scoped_ptr<DevToolsManager> devtools_manager_; |
| 150 | 146 |
| 151 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); | 147 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); |
| 152 }; | 148 }; |
| 153 | 149 |
| 154 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 150 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
| OLD | NEW |