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 // 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 219 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
220 | 220 |
221 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 221 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
222 | 222 |
223 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 223 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
224 | 224 |
225 virtual void PlatformSpecificCommandLineProcessing( | 225 virtual void PlatformSpecificCommandLineProcessing( |
226 const CommandLine& command_line) = 0; | 226 const CommandLine& command_line) = 0; |
227 | 227 |
| 228 virtual bool created_local_state() const = 0; |
| 229 |
228 private: | 230 private: |
229 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
230 }; | 232 }; |
231 | 233 |
232 extern BrowserProcess* g_browser_process; | 234 extern BrowserProcess* g_browser_process; |
233 | 235 |
234 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |