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