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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual void PreEarlyInitialization() OVERRIDE; | 54 virtual void PreEarlyInitialization() OVERRIDE; |
55 virtual void PreMainMessageLoopStart() OVERRIDE; | 55 virtual void PreMainMessageLoopStart() OVERRIDE; |
56 virtual void PostMainMessageLoopStart() OVERRIDE; | 56 virtual void PostMainMessageLoopStart() OVERRIDE; |
57 virtual int PreCreateThreads() OVERRIDE; | 57 virtual int PreCreateThreads() OVERRIDE; |
58 virtual void PreMainMessageLoopRun() OVERRIDE; | 58 virtual void PreMainMessageLoopRun() OVERRIDE; |
59 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; | 59 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; |
60 virtual void PostMainMessageLoopRun() OVERRIDE; | 60 virtual void PostMainMessageLoopRun() OVERRIDE; |
61 virtual void PostDestroyThreads() OVERRIDE; | 61 virtual void PostDestroyThreads() OVERRIDE; |
62 | 62 |
63 private: | 63 private: |
64 // Creates and initializes the ExtensionSystem. | 64 // Initializes the extensions module client interfaces and ExtensionSystem. |
65 void CreateExtensionSystem(); | 65 void InitExtensionsModule(); |
66 | 66 |
67 #if defined(OS_CHROMEOS) | 67 #if defined(OS_CHROMEOS) |
68 scoped_ptr<ShellNetworkController> network_controller_; | 68 scoped_ptr<ShellNetworkController> network_controller_; |
69 #endif | 69 #endif |
70 scoped_ptr<ShellDesktopController> desktop_controller_; | 70 scoped_ptr<ShellDesktopController> desktop_controller_; |
71 scoped_ptr<ShellBrowserContext> browser_context_; | 71 scoped_ptr<ShellBrowserContext> browser_context_; |
72 scoped_ptr<ShellExtensionsClient> extensions_client_; | 72 scoped_ptr<ShellExtensionsClient> extensions_client_; |
73 scoped_ptr<ShellExtensionsBrowserClient> extensions_browser_client_; | 73 scoped_ptr<ShellExtensionsBrowserClient> extensions_browser_client_; |
74 scoped_ptr<net::NetLog> net_log_; | 74 scoped_ptr<net::NetLog> net_log_; |
75 scoped_ptr<content::ShellDevToolsDelegate> devtools_delegate_; | 75 scoped_ptr<content::ShellDevToolsDelegate> devtools_delegate_; |
(...skipping 10 matching lines...) Expand all Loading... |
86 bool run_message_loop_; | 86 bool run_message_loop_; |
87 | 87 |
88 scoped_ptr<ShellBrowserMainDelegate> browser_main_delegate_; | 88 scoped_ptr<ShellBrowserMainDelegate> browser_main_delegate_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); | 90 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace extensions | 93 } // namespace extensions |
94 | 94 |
95 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ | 95 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |