| 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 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_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 24 matching lines...) Expand all Loading... |
| 35 namespace content { | 35 namespace content { |
| 36 | 36 |
| 37 class BrowserMainParts; | 37 class BrowserMainParts; |
| 38 class BrowserShutdownImpl; | 38 class BrowserShutdownImpl; |
| 39 class BrowserThreadImpl; | 39 class BrowserThreadImpl; |
| 40 struct MainFunctionParams; | 40 struct MainFunctionParams; |
| 41 class MediaDeviceNotificationsLinux; | 41 class MediaDeviceNotificationsLinux; |
| 42 class ResourceDispatcherHostImpl; | 42 class ResourceDispatcherHostImpl; |
| 43 class WebKitThread; | 43 class WebKitThread; |
| 44 | 44 |
| 45 // Implements the main browser loop stages called from |BrowserMain()|. | 45 // Implements the main browser loop stages called from BrowserMainRunner. |
| 46 // See comments in browser_main_parts.h for additional info. | 46 // See comments in browser_main_parts.h for additional info. |
| 47 // All functions are to be called only on the UI thread unless otherwise noted. | 47 // All functions are to be called only on the UI thread unless otherwise noted. |
| 48 class BrowserMainLoop { | 48 class BrowserMainLoop { |
| 49 public: | 49 public: |
| 50 explicit BrowserMainLoop(const content::MainFunctionParams& parameters); | 50 explicit BrowserMainLoop(const content::MainFunctionParams& parameters); |
| 51 virtual ~BrowserMainLoop(); | 51 virtual ~BrowserMainLoop(); |
| 52 | 52 |
| 53 void Init(); | 53 void Init(); |
| 54 | 54 |
| 55 void EarlyInitialization(); | 55 void EarlyInitialization(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 #if defined(OS_WIN) | 125 #if defined(OS_WIN) |
| 126 ui::ScopedOleInitializer ole_initializer_; | 126 ui::ScopedOleInitializer ole_initializer_; |
| 127 #endif | 127 #endif |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 129 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace content | 132 } // namespace content |
| 133 | 133 |
| 134 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 134 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |