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 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 218 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
219 | 219 |
220 virtual void PlatformSpecificCommandLineProcessing( | 220 virtual void PlatformSpecificCommandLineProcessing( |
221 const CommandLine& command_line) = 0; | 221 const CommandLine& command_line) = 0; |
222 | 222 |
223 virtual bool created_local_state() const = 0; | 223 virtual bool created_local_state() const = 0; |
224 | 224 |
225 #if defined(OS_WIN) && defined(USE_AURA) | 225 #if defined(OS_WIN) && defined(USE_AURA) |
226 // Invoked when the ASH metro viewer process on Windows 8 exits. | 226 // Invoked when the ASH metro viewer process on Windows 8 exits. |
227 virtual void OnMetroViewerProcessTerminated() = 0; | 227 virtual void OnMetroViewerProcessTerminated() = 0; |
228 | |
229 // Terminates the metro viewer process if there is one. | |
230 virtual void TerminateMetroViewerProcess() = 0; | |
sky
2013/05/14 17:17:51
Move these two into a win-aura specific BrowserPro
gab
2013/05/14 17:45:25
These methods need to have access to metro_viewer_
sky
2013/05/14 20:47:45
Can metro_viewer_process_host_ be moved too? Ideal
gab
2013/05/15 17:13:23
Of course, not sure why I thought that wouldn't wo
| |
228 #endif | 231 #endif |
229 | 232 |
230 private: | 233 private: |
231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 234 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
232 }; | 235 }; |
233 | 236 |
234 extern BrowserProcess* g_browser_process; | 237 extern BrowserProcess* g_browser_process; |
235 | 238 |
236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 239 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |