Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Side by Side Diff: content/browser/browser_main_loop.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/urlmon_url_request.h ('k') | content/browser/device_orientation/provider_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/browser/browser_process_sub_thread.h" 10 #include "content/browser/browser_process_sub_thread.h"
11 11
12 class CommandLine; 12 class CommandLine;
13 class HighResolutionTimerManager; 13 class HighResolutionTimerManager;
14 class MessageLoop;
15 14
16 namespace base { 15 namespace base {
16 class MessageLoop;
17 class SystemMonitor; 17 class SystemMonitor;
18 } 18 }
19 19
20 namespace media { 20 namespace media {
21 class AudioManager; 21 class AudioManager;
22 } 22 }
23 23
24 namespace net { 24 namespace net {
25 class NetworkChangeNotifier; 25 class NetworkChangeNotifier;
26 } 26 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void BrowserThreadsStarted(); 86 void BrowserThreadsStarted();
87 87
88 void MainMessageLoopRun(); 88 void MainMessageLoopRun();
89 89
90 // Members initialized on construction --------------------------------------- 90 // Members initialized on construction ---------------------------------------
91 const MainFunctionParams& parameters_; 91 const MainFunctionParams& parameters_;
92 const CommandLine& parsed_command_line_; 92 const CommandLine& parsed_command_line_;
93 int result_code_; 93 int result_code_;
94 94
95 // Members initialized in |MainMessageLoopStart()| --------------------------- 95 // Members initialized in |MainMessageLoopStart()| ---------------------------
96 scoped_ptr<MessageLoop> main_message_loop_; 96 scoped_ptr<base::MessageLoop> main_message_loop_;
97 scoped_ptr<base::SystemMonitor> system_monitor_; 97 scoped_ptr<base::SystemMonitor> system_monitor_;
98 scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_; 98 scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_;
99 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; 99 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
100 scoped_ptr<media::AudioManager> audio_manager_; 100 scoped_ptr<media::AudioManager> audio_manager_;
101 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; 101 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_;
102 scoped_ptr<MediaStreamManager> media_stream_manager_; 102 scoped_ptr<MediaStreamManager> media_stream_manager_;
103 // Per-process listener for online state changes. 103 // Per-process listener for online state changes.
104 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 104 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
105 #if defined(OS_WIN) 105 #if defined(OS_WIN)
106 scoped_ptr<SystemMessageWindowWin> system_message_window_; 106 scoped_ptr<SystemMessageWindowWin> system_message_window_;
(...skipping 26 matching lines...) Expand all
133 scoped_ptr<BrowserProcessSubThread> cache_thread_; 133 scoped_ptr<BrowserProcessSubThread> cache_thread_;
134 scoped_ptr<BrowserProcessSubThread> io_thread_; 134 scoped_ptr<BrowserProcessSubThread> io_thread_;
135 scoped_ptr<MemoryObserver> memory_observer_; 135 scoped_ptr<MemoryObserver> memory_observer_;
136 136
137 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 137 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
138 }; 138 };
139 139
140 } // namespace content 140 } // namespace content
141 141
142 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 142 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « chrome_frame/urlmon_url_request.h ('k') | content/browser/device_orientation/provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698