OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_ptr<ShellNetworkController> network_controller_; | 73 scoped_ptr<ShellNetworkController> network_controller_; |
74 scoped_ptr<ShellAudioController> audio_controller_; | 74 scoped_ptr<ShellAudioController> audio_controller_; |
75 #endif | 75 #endif |
76 scoped_ptr<DesktopController> desktop_controller_; | 76 scoped_ptr<DesktopController> desktop_controller_; |
77 scoped_ptr<ShellBrowserContext> browser_context_; | 77 scoped_ptr<ShellBrowserContext> browser_context_; |
78 scoped_ptr<ShellDeviceClient> device_client_; | 78 scoped_ptr<ShellDeviceClient> device_client_; |
79 scoped_ptr<AppWindowClient> app_window_client_; | 79 scoped_ptr<AppWindowClient> app_window_client_; |
80 scoped_ptr<ShellExtensionsClient> extensions_client_; | 80 scoped_ptr<ShellExtensionsClient> extensions_client_; |
81 scoped_ptr<ShellExtensionsBrowserClient> extensions_browser_client_; | 81 scoped_ptr<ShellExtensionsBrowserClient> extensions_browser_client_; |
82 scoped_ptr<net::NetLog> net_log_; | 82 scoped_ptr<net::NetLog> net_log_; |
83 content::DevToolsHttpHandler* devtools_http_handler_; | 83 scoped_ptr<content::DevToolsHttpHandler> devtools_http_handler_; |
84 scoped_ptr<ShellOmahaQueryParamsDelegate> omaha_query_params_delegate_; | 84 scoped_ptr<ShellOmahaQueryParamsDelegate> omaha_query_params_delegate_; |
85 scoped_ptr<ShellOAuth2TokenService> oauth2_token_service_; | 85 scoped_ptr<ShellOAuth2TokenService> oauth2_token_service_; |
86 | 86 |
87 // Owned by the KeyedService system. | 87 // Owned by the KeyedService system. |
88 ShellExtensionSystem* extension_system_; | 88 ShellExtensionSystem* extension_system_; |
89 | 89 |
90 // For running app browsertests. | 90 // For running app browsertests. |
91 const content::MainFunctionParams parameters_; | 91 const content::MainFunctionParams parameters_; |
92 | 92 |
93 // If true, indicates the main message loop should be run | 93 // If true, indicates the main message loop should be run |
94 // in MainMessageLoopRun. If false, it has already been run. | 94 // in MainMessageLoopRun. If false, it has already been run. |
95 bool run_message_loop_; | 95 bool run_message_loop_; |
96 | 96 |
97 scoped_ptr<ShellBrowserMainDelegate> browser_main_delegate_; | 97 scoped_ptr<ShellBrowserMainDelegate> browser_main_delegate_; |
98 | 98 |
99 #if !defined(DISABLE_NACL) | 99 #if !defined(DISABLE_NACL) |
100 base::CancelableTaskTracker task_tracker_; | 100 base::CancelableTaskTracker task_tracker_; |
101 #endif | 101 #endif |
102 | 102 |
103 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); | 103 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); |
104 }; | 104 }; |
105 | 105 |
106 } // namespace extensions | 106 } // namespace extensions |
107 | 107 |
108 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 108 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |