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 // This interface is for managing the global services of the application. Each | 5 // This interface is for managing the global services of the application. Each |
6 // service is lazily created when requested the first time. The service getters | 6 // service is lazily created when requested the first time. The service getters |
7 // will return NULL if the service is not available, so callers must check for | 7 // will return NULL if the service is not available, so callers must check for |
8 // this condition. | 8 // this condition. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ |
(...skipping 28 matching lines...) Expand all Loading... |
39 class TabCloseableStateWatcher; | 39 class TabCloseableStateWatcher; |
40 class ThumbnailGenerator; | 40 class ThumbnailGenerator; |
41 | 41 |
42 namespace base { | 42 namespace base { |
43 class Thread; | 43 class Thread; |
44 class WaitableEvent; | 44 class WaitableEvent; |
45 } | 45 } |
46 | 46 |
47 namespace printing { | 47 namespace printing { |
48 class PrintJobManager; | 48 class PrintJobManager; |
49 class PrintPreviewTabController; | 49 class PrintPreviewManager; |
50 } | 50 } |
51 | 51 |
52 namespace policy { | 52 namespace policy { |
53 class ConfigurationPolicyProviderKeeper; | 53 class ConfigurationPolicyProviderKeeper; |
54 } | 54 } |
55 | 55 |
56 namespace ui { | 56 namespace ui { |
57 class Clipboard; | 57 class Clipboard; |
58 } | 58 } |
59 | 59 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual AutomationProviderList* InitAutomationProviderList() = 0; | 124 virtual AutomationProviderList* InitAutomationProviderList() = 0; |
125 | 125 |
126 virtual void InitDebuggerWrapper(int port, bool useHttp) = 0; | 126 virtual void InitDebuggerWrapper(int port, bool useHttp) = 0; |
127 | 127 |
128 virtual unsigned int AddRefModule() = 0; | 128 virtual unsigned int AddRefModule() = 0; |
129 virtual unsigned int ReleaseModule() = 0; | 129 virtual unsigned int ReleaseModule() = 0; |
130 | 130 |
131 virtual bool IsShuttingDown() = 0; | 131 virtual bool IsShuttingDown() = 0; |
132 | 132 |
133 virtual printing::PrintJobManager* print_job_manager() = 0; | 133 virtual printing::PrintJobManager* print_job_manager() = 0; |
134 virtual printing::PrintPreviewTabController* | 134 virtual printing::PrintPreviewManager* print_preview_manager() = 0; |
135 print_preview_tab_controller() = 0; | |
136 | 135 |
137 virtual GoogleURLTracker* google_url_tracker() = 0; | 136 virtual GoogleURLTracker* google_url_tracker() = 0; |
138 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; | 137 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; |
139 | 138 |
140 // Returns the locale used by the application. | 139 // Returns the locale used by the application. |
141 virtual const std::string& GetApplicationLocale() = 0; | 140 virtual const std::string& GetApplicationLocale() = 0; |
142 virtual void SetApplicationLocale(const std::string& locale) = 0; | 141 virtual void SetApplicationLocale(const std::string& locale) = 0; |
143 | 142 |
144 DownloadRequestLimiter* download_request_limiter(); | 143 DownloadRequestLimiter* download_request_limiter(); |
145 virtual DownloadStatusUpdater* download_status_updater() = 0; | 144 virtual DownloadStatusUpdater* download_status_updater() = 0; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 private: | 189 private: |
191 // User-data-dir based profiles. | 190 // User-data-dir based profiles. |
192 std::vector<std::wstring> user_data_dir_profiles_; | 191 std::vector<std::wstring> user_data_dir_profiles_; |
193 | 192 |
194 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 193 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
195 }; | 194 }; |
196 | 195 |
197 extern BrowserProcess* g_browser_process; | 196 extern BrowserProcess* g_browser_process; |
198 | 197 |
199 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 198 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |