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 #ifndef CONTENT_BROWSER_BROWSER_MAIN_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_H_ |
6 #define CONTENT_BROWSER_BROWSER_MAIN_H_ | 6 #define CONTENT_BROWSER_BROWSER_MAIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // Members initialized in |MainMessageLoopStart()| --------------------------- | 118 // Members initialized in |MainMessageLoopStart()| --------------------------- |
119 scoped_ptr<MessageLoop> main_message_loop_; | 119 scoped_ptr<MessageLoop> main_message_loop_; |
120 scoped_ptr<base::SystemMonitor> system_monitor_; | 120 scoped_ptr<base::SystemMonitor> system_monitor_; |
121 scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_; | 121 scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_; |
122 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; | 122 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; |
123 scoped_ptr<BrowserThread> main_thread_; | 123 scoped_ptr<BrowserThread> main_thread_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(BrowserMainParts); | 125 DISALLOW_COPY_AND_ASSIGN(BrowserMainParts); |
126 }; | 126 }; |
127 | 127 |
128 // Perform platform-specific work that needs to be done after the main event | |
129 // loop has ended. The embedder must be sure to call this. | |
130 // TODO(jam): change this so that content calls it so that we don't depend on | |
131 // the embedder. | |
132 void DidEndMainMessageLoop(); | |
133 | |
134 } // namespace content | 128 } // namespace content |
135 | 129 |
136 #endif // CONTENT_BROWSER_BROWSER_MAIN_H_ | 130 #endif // CONTENT_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |