blob: a63f6a4f1004ec93ed30140bf4f2aa3d13f8ce4d [file] [log] [blame]
[email protected]c4ff4952010-01-08 19:12:471// Copyright (c) 2010 The Chromium Authors. All rights reserved.
license.botbf09a502008-08-24 00:55:552// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
initial.commit09911bf2008-07-26 23:55:294
5#include "chrome/browser/browser_process_impl.h"
6
[email protected]90f39902009-10-03 04:25:377#include "app/clipboard/clipboard.h"
[email protected]a92b8642009-05-05 23:38:568#include "app/l10n_util.h"
initial.commit09911bf2008-07-26 23:55:299#include "base/command_line.h"
[email protected]6641bf662009-08-21 00:34:0910#include "base/file_util.h"
initial.commit09911bf2008-07-26 23:55:2911#include "base/path_service.h"
[email protected]ac262c9f2008-10-19 17:45:2112#include "base/thread.h"
[email protected]1c4947f2009-01-15 22:25:1113#include "base/waitable_event.h"
[email protected]b443cb042009-12-15 22:05:0914#include "chrome/browser/browser_main.h"
[email protected]0ac83682010-01-22 17:46:2715#include "chrome/browser/browser_process_sub_thread.h"
[email protected]ac262c9f2008-10-19 17:45:2116#include "chrome/browser/browser_trial.h"
initial.commit09911bf2008-07-26 23:55:2917#include "chrome/browser/chrome_thread.h"
[email protected]4ab4b0f2009-02-10 18:54:5018#include "chrome/browser/debugger/debugger_wrapper.h"
[email protected]40ecc902009-03-16 13:42:4719#include "chrome/browser/debugger/devtools_manager.h"
[email protected]b7f05882009-02-22 01:21:5620#include "chrome/browser/download/download_file.h"
[email protected]5ba0a2c2009-02-19 01:19:3421#include "chrome/browser/download/save_file_manager.h"
initial.commit09911bf2008-07-26 23:55:2922#include "chrome/browser/google_url_tracker.h"
[email protected]dcefa302009-05-20 00:24:3923#include "chrome/browser/icon_manager.h"
[email protected]c4ff4952010-01-08 19:12:4724#include "chrome/browser/intranet_redirect_detector.h"
[email protected]0ac83682010-01-22 17:46:2725#include "chrome/browser/io_thread.h"
[email protected]dc6f4962009-02-13 01:25:5026#include "chrome/browser/metrics/metrics_service.h"
[email protected]1933eb202009-02-19 18:23:2527#include "chrome/browser/net/dns_global.h"
[email protected]d393a0fd2009-05-13 23:32:0128#include "chrome/browser/net/sdch_dictionary_fetcher.h"
[email protected]29672ab2009-10-30 03:44:0329#include "chrome/browser/notifications/notification_ui_manager.h"
[email protected]fd49e2d2009-02-20 17:21:3030#include "chrome/browser/plugin_service.h"
initial.commit09911bf2008-07-26 23:55:2931#include "chrome/browser/profile_manager.h"
[email protected]8c8657d62009-01-16 18:31:2632#include "chrome/browser/renderer_host/render_process_host.h"
[email protected]81218f42009-02-05 18:48:0833#include "chrome/browser/renderer_host/resource_dispatcher_host.h"
34#include "chrome/browser/safe_browsing/safe_browsing_service.h"
[email protected]b1748b1d82009-11-30 20:32:5635#include "chrome/common/child_process_host.h"
initial.commit09911bf2008-07-26 23:55:2936#include "chrome/common/chrome_paths.h"
37#include "chrome/common/chrome_switches.h"
initial.commit09911bf2008-07-26 23:55:2938#include "chrome/common/notification_service.h"
39#include "chrome/common/pref_names.h"
40#include "chrome/common/pref_service.h"
[email protected]d55aaa132009-09-28 21:08:0441#include "ipc/ipc_logging.h"
[email protected]b112a4c2009-02-01 20:24:0142
43#if defined(OS_WIN)
[email protected]2362e4f2009-05-08 00:34:0544#include "views/focus/view_storage.h"
[email protected]86230b92009-11-23 20:38:3845#endif
46
47#if defined(OS_LINUX)
48// TODO(port): get rid of this.
[email protected]81218f42009-02-05 18:48:0849#include "chrome/common/temp_scaffolding_stubs.h"
[email protected]86230b92009-11-23 20:38:3850#else
51#include "chrome/browser/printing/print_job_manager.h"
[email protected]b112a4c2009-02-01 20:24:0152#endif
initial.commit09911bf2008-07-26 23:55:2953
[email protected]d55aaa132009-09-28 21:08:0454#if defined(IPC_MESSAGE_LOG_ENABLED)
55#include "chrome/common/plugin_messages.h"
56#include "chrome/common/render_messages.h"
57#endif
58
[email protected]bb975362009-01-21 01:00:2259BrowserProcessImpl::BrowserProcessImpl(const CommandLine& command_line)
initial.commit09911bf2008-07-26 23:55:2960 : created_resource_dispatcher_host_(false),
61 created_metrics_service_(false),
62 created_io_thread_(false),
63 created_file_thread_(false),
64 created_db_thread_(false),
[email protected]914511712009-11-23 19:42:3365 created_process_launcher_thread_(false),
initial.commit09911bf2008-07-26 23:55:2966 created_profile_manager_(false),
67 created_local_state_(false),
[email protected]f3a4f302009-08-21 22:35:2968#if defined(OS_WIN)
initial.commit09911bf2008-07-26 23:55:2969 initialized_broker_services_(false),
initial.commit09911bf2008-07-26 23:55:2970 broker_services_(NULL),
[email protected]f3a4f302009-08-21 22:35:2971#endif // defined(OS_WIN)
[email protected]b112a4c2009-02-01 20:24:0172 created_icon_manager_(false),
73 created_debugger_wrapper_(false),
[email protected]40ecc902009-03-16 13:42:4774 created_devtools_manager_(false),
[email protected]29672ab2009-10-30 03:44:0375 created_notification_ui_manager_(false),
initial.commit09911bf2008-07-26 23:55:2976 module_ref_count_(0),
[email protected]1b2db1a2008-08-08 17:46:1377 checked_for_new_frames_(false),
[email protected]6641bf662009-08-21 00:34:0978 using_new_frames_(false),
79 have_inspector_files_(true) {
initial.commit09911bf2008-07-26 23:55:2980 g_browser_process = this;
[email protected]1b8d02f12009-05-05 04:14:1181 clipboard_.reset(new Clipboard);
initial.commit09911bf2008-07-26 23:55:2982 main_notification_service_.reset(new NotificationService);
83
84 // Must be created after the NotificationService.
85 print_job_manager_.reset(new printing::PrintJobManager);
86
[email protected]b797e152009-01-23 16:06:1487 shutdown_event_.reset(new base::WaitableEvent(true, false));
initial.commit09911bf2008-07-26 23:55:2988}
89
90BrowserProcessImpl::~BrowserProcessImpl() {
91 // Delete the AutomationProviderList before NotificationService,
92 // since it may try to unregister notifications
93 // Both NotificationService and AutomationProvider are singleton instances in
94 // the BrowserProcess. Since AutomationProvider may have some active
95 // notification observers, it is essential that it gets destroyed before the
96 // NotificationService. NotificationService won't be destroyed until after
97 // this destructor is run.
98 automation_provider_list_.reset();
99
[email protected]d393a0fd2009-05-13 23:32:01100 // We need to shutdown the SdchDictionaryFetcher as it regularly holds
101 // a pointer to a URLFetcher, and that URLFetcher (upon destruction) will do
102 // a PostDelayedTask onto the IO thread. This shutdown call will both discard
103 // any pending URLFetchers, and avoid creating any more.
104 SdchDictionaryFetcher::Shutdown();
105
[email protected]c4ff4952010-01-08 19:12:47106 // We need to destroy the MetricsService, GoogleURLTracker, and
107 // IntranetRedirectDetector before the io_thread_ gets destroyed, since their
108 // destructors can call the URLFetcher destructor, which does a
109 // PostDelayedTask operation on the IO thread. (The IO thread will handle
110 // that URLFetcher operation before going away.)
initial.commit09911bf2008-07-26 23:55:29111 metrics_service_.reset();
112 google_url_tracker_.reset();
[email protected]c4ff4952010-01-08 19:12:47113 intranet_redirect_detector_.reset();
initial.commit09911bf2008-07-26 23:55:29114
115 // Need to clear profiles (download managers) before the io_thread_.
116 profile_manager_.reset();
117
118 // Debugger must be cleaned up before IO thread and NotificationService.
119 debugger_wrapper_ = NULL;
120
121 if (resource_dispatcher_host_.get()) {
122 // Need to tell Safe Browsing Service that the IO thread is going away
123 // since it cached a pointer to it.
124 if (resource_dispatcher_host()->safe_browsing_service())
125 resource_dispatcher_host()->safe_browsing_service()->ShutDown();
126
127 // Cancel pending requests and prevent new requests.
128 resource_dispatcher_host()->Shutdown();
129 }
130
[email protected]4c3cd7412009-04-22 17:56:06131#if defined(OS_LINUX)
132 // The IO thread must outlive the BACKGROUND_X11 thread.
133 background_x11_thread_.reset();
134#endif
135
initial.commit09911bf2008-07-26 23:55:29136 // Need to stop io_thread_ before resource_dispatcher_host_, since
137 // io_thread_ may still deref ResourceDispatcherHost and handle resource
138 // request before going away.
[email protected]0ac83682010-01-22 17:46:27139 io_thread_.reset();
initial.commit09911bf2008-07-26 23:55:29140
[email protected]914511712009-11-23 19:42:33141 // Stop the process launcher thread after the IO thread, in case the IO thread
142 // posted a task to terminate a process on the process launcher thread.
143 process_launcher_thread_.reset();
144
initial.commit09911bf2008-07-26 23:55:29145 // Clean up state that lives on the file_thread_ before it goes away.
146 if (resource_dispatcher_host_.get()) {
147 resource_dispatcher_host()->download_file_manager()->Shutdown();
148 resource_dispatcher_host()->save_file_manager()->Shutdown();
149 }
150
151 // Need to stop the file_thread_ here to force it to process messages in its
152 // message loop from the previous call to shutdown the DownloadFileManager,
153 // SaveFileManager and SessionService.
154 file_thread_.reset();
155
156 // With the file_thread_ flushed, we can release any icon resources.
157 icon_manager_.reset();
158
159 // Need to destroy ResourceDispatcherHost before PluginService and
160 // SafeBrowsingService, since it caches a pointer to it.
161 resource_dispatcher_host_.reset();
162
163 // Wait for the pending print jobs to finish.
164 print_job_manager_->OnQuit();
165 print_job_manager_.reset();
166
initial.commit09911bf2008-07-26 23:55:29167 // Now OK to destroy NotificationService.
168 main_notification_service_.reset();
169
170 g_browser_process = NULL;
171}
172
[email protected]295039bd2008-08-15 04:32:57173// Send a QuitTask to the given MessageLoop.
174static void PostQuit(MessageLoop* message_loop) {
175 message_loop->PostTask(FROM_HERE, new MessageLoop::QuitTask());
176}
initial.commit09911bf2008-07-26 23:55:29177
[email protected]b443cb042009-12-15 22:05:09178unsigned int BrowserProcessImpl::AddRefModule() {
179 DCHECK(CalledOnValidThread());
180 module_ref_count_++;
181 return module_ref_count_;
182}
183
184unsigned int BrowserProcessImpl::ReleaseModule() {
185 DCHECK(CalledOnValidThread());
186 DCHECK(0 != module_ref_count_);
187 module_ref_count_--;
188 if (0 == module_ref_count_) {
189 MessageLoop::current()->PostTask(
190 FROM_HERE, NewRunnableFunction(Platform::DidEndMainMessageLoop));
191 MessageLoop::current()->Quit();
192 }
193 return module_ref_count_;
194}
195
initial.commit09911bf2008-07-26 23:55:29196void BrowserProcessImpl::EndSession() {
[email protected]b112a4c2009-02-01 20:24:01197#if defined(OS_WIN)
[email protected]d65cab7a2008-08-12 01:25:41198 // Notify we are going away.
[email protected]b797e152009-01-23 16:06:14199 ::SetEvent(shutdown_event_->handle());
[email protected]b112a4c2009-02-01 20:24:01200#endif
[email protected]d65cab7a2008-08-12 01:25:41201
initial.commit09911bf2008-07-26 23:55:29202 // Mark all the profiles as clean.
203 ProfileManager* pm = profile_manager();
204 for (ProfileManager::const_iterator i = pm->begin(); i != pm->end(); ++i)
205 (*i)->MarkAsCleanShutdown();
206
207 // Tell the metrics service it was cleanly shutdown.
208 MetricsService* metrics = g_browser_process->metrics_service();
209 if (metrics && local_state()) {
210 metrics->RecordCleanShutdown();
211
212 metrics->RecordStartOfSessionEnd();
213
214 // MetricsService lazily writes to prefs, force it to write now.
[email protected]6faa0e0d2009-04-28 06:50:36215 local_state()->SavePersistentPrefs();
initial.commit09911bf2008-07-26 23:55:29216 }
217
218 // We must write that the profile and metrics service shutdown cleanly,
219 // otherwise on startup we'll think we crashed. So we block until done and
220 // then proceed with normal shutdown.
221 g_browser_process->file_thread()->message_loop()->PostTask(FROM_HERE,
[email protected]295039bd2008-08-15 04:32:57222 NewRunnableFunction(PostQuit, MessageLoop::current()));
initial.commit09911bf2008-07-26 23:55:29223 MessageLoop::current()->Run();
224}
225
226printing::PrintJobManager* BrowserProcessImpl::print_job_manager() {
227 // TODO(abarth): DCHECK(CalledOnValidThread());
228 // See <http://b/1287209>.
229 // print_job_manager_ is initialized in the constructor and destroyed in the
230 // destructor, so it should always be valid.
231 DCHECK(print_job_manager_.get());
232 return print_job_manager_.get();
233}
234
initial.commit09911bf2008-07-26 23:55:29235void BrowserProcessImpl::CreateResourceDispatcherHost() {
236 DCHECK(!created_resource_dispatcher_host_ &&
237 resource_dispatcher_host_.get() == NULL);
238 created_resource_dispatcher_host_ = true;
239
[email protected]79084c2d2009-11-03 23:12:42240 resource_dispatcher_host_.reset(new ResourceDispatcherHost());
initial.commit09911bf2008-07-26 23:55:29241 resource_dispatcher_host_->Initialize();
242}
243
244void BrowserProcessImpl::CreateMetricsService() {
245 DCHECK(!created_metrics_service_ && metrics_service_.get() == NULL);
246 created_metrics_service_ = true;
247
248 metrics_service_.reset(new MetricsService);
249}
250
251void BrowserProcessImpl::CreateIOThread() {
252 DCHECK(!created_io_thread_ && io_thread_.get() == NULL);
253 created_io_thread_ = true;
254
255 // Prior to starting the io thread, we create the plugin service as
256 // it is predominantly used from the io thread, but must be created
257 // on the main thread. The service ctor is inexpensive and does not
258 // invoke the io_thread() accessor.
259 PluginService::GetInstance();
260
[email protected]4c3cd7412009-04-22 17:56:06261#if defined(OS_LINUX)
262 // The lifetime of the BACKGROUND_X11 thread is a subset of the IO thread so
263 // we start it now.
264 scoped_ptr<base::Thread> background_x11_thread(
265 new BrowserProcessSubThread(ChromeThread::BACKGROUND_X11));
266 if (!background_x11_thread->Start())
267 return;
268 background_x11_thread_.swap(background_x11_thread);
269#endif
270
[email protected]0ac83682010-01-22 17:46:27271 scoped_ptr<IOThread> thread(new IOThread);
[email protected]ab820df2008-08-26 05:55:10272 base::Thread::Options options;
273 options.message_loop_type = MessageLoop::TYPE_IO;
274 if (!thread->StartWithOptions(options))
initial.commit09911bf2008-07-26 23:55:29275 return;
276 io_thread_.swap(thread);
277}
278
279void BrowserProcessImpl::CreateFileThread() {
280 DCHECK(!created_file_thread_ && file_thread_.get() == NULL);
281 created_file_thread_ = true;
282
[email protected]ab820df2008-08-26 05:55:10283 scoped_ptr<base::Thread> thread(
284 new BrowserProcessSubThread(ChromeThread::FILE));
[email protected]a1db3842008-09-17 22:04:06285 base::Thread::Options options;
[email protected]9e549b582009-02-05 21:13:39286#if defined(OS_WIN)
287 // On Windows, the FILE thread needs to be have a UI message loop which pumps
288 // messages in such a way that Google Update can communicate back to us.
[email protected]a1db3842008-09-17 22:04:06289 options.message_loop_type = MessageLoop::TYPE_UI;
[email protected]9e549b582009-02-05 21:13:39290#else
291 options.message_loop_type = MessageLoop::TYPE_IO;
292#endif
[email protected]a1db3842008-09-17 22:04:06293 if (!thread->StartWithOptions(options))
initial.commit09911bf2008-07-26 23:55:29294 return;
295 file_thread_.swap(thread);
296}
297
298void BrowserProcessImpl::CreateDBThread() {
299 DCHECK(!created_db_thread_ && db_thread_.get() == NULL);
300 created_db_thread_ = true;
301
[email protected]ab820df2008-08-26 05:55:10302 scoped_ptr<base::Thread> thread(
303 new BrowserProcessSubThread(ChromeThread::DB));
initial.commit09911bf2008-07-26 23:55:29304 if (!thread->Start())
305 return;
306 db_thread_.swap(thread);
307}
308
[email protected]914511712009-11-23 19:42:33309void BrowserProcessImpl::CreateProcessLauncherThread() {
310 DCHECK(!created_process_launcher_thread_ && !process_launcher_thread_.get());
311 created_process_launcher_thread_ = true;
312
313 scoped_ptr<base::Thread> thread(
314 new BrowserProcessSubThread(ChromeThread::PROCESS_LAUNCHER));
315 if (!thread->Start())
316 return;
317 process_launcher_thread_.swap(thread);
318}
319
initial.commit09911bf2008-07-26 23:55:29320void BrowserProcessImpl::CreateProfileManager() {
321 DCHECK(!created_profile_manager_ && profile_manager_.get() == NULL);
322 created_profile_manager_ = true;
323
324 profile_manager_.reset(new ProfileManager());
325}
326
327void BrowserProcessImpl::CreateLocalState() {
328 DCHECK(!created_local_state_ && local_state_.get() == NULL);
329 created_local_state_ = true;
330
[email protected]b9636002009-03-04 00:05:25331 FilePath local_state_path;
initial.commit09911bf2008-07-26 23:55:29332 PathService::Get(chrome::FILE_LOCAL_STATE, &local_state_path);
[email protected]6fad2632009-11-02 05:59:37333 local_state_.reset(new PrefService(local_state_path));
initial.commit09911bf2008-07-26 23:55:29334}
335
[email protected]f3a4f302009-08-21 22:35:29336#if defined(OS_WIN)
initial.commit09911bf2008-07-26 23:55:29337void BrowserProcessImpl::InitBrokerServices(
338 sandbox::BrokerServices* broker_services) {
339 DCHECK(!initialized_broker_services_ && broker_services_ == NULL);
340 broker_services->Init();
341 initialized_broker_services_ = true;
342 broker_services_ = broker_services;
343}
[email protected]f3a4f302009-08-21 22:35:29344#endif // defined(OS_WIN)
initial.commit09911bf2008-07-26 23:55:29345
346void BrowserProcessImpl::CreateIconManager() {
347 DCHECK(!created_icon_manager_ && icon_manager_.get() == NULL);
348 created_icon_manager_ = true;
349 icon_manager_.reset(new IconManager);
350}
351
352void BrowserProcessImpl::CreateDebuggerWrapper(int port) {
353 DCHECK(debugger_wrapper_.get() == NULL);
354 created_debugger_wrapper_ = true;
355
356 debugger_wrapper_ = new DebuggerWrapper(port);
357}
358
[email protected]40ecc902009-03-16 13:42:47359void BrowserProcessImpl::CreateDevToolsManager() {
[email protected]73ee01522009-06-05 10:13:44360 DCHECK(devtools_manager_.get() == NULL);
[email protected]40ecc902009-03-16 13:42:47361 created_devtools_manager_ = true;
[email protected]73ee01522009-06-05 10:13:44362 devtools_manager_ = new DevToolsManager();
[email protected]40ecc902009-03-16 13:42:47363}
364
initial.commit09911bf2008-07-26 23:55:29365void BrowserProcessImpl::CreateGoogleURLTracker() {
366 DCHECK(google_url_tracker_.get() == NULL);
367 scoped_ptr<GoogleURLTracker> google_url_tracker(new GoogleURLTracker);
368 google_url_tracker_.swap(google_url_tracker);
369}
[email protected]6641bf662009-08-21 00:34:09370
[email protected]c4ff4952010-01-08 19:12:47371void BrowserProcessImpl::CreateIntranetRedirectDetector() {
372 DCHECK(intranet_redirect_detector_.get() == NULL);
373 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector(
374 new IntranetRedirectDetector);
375 intranet_redirect_detector_.swap(intranet_redirect_detector);
376}
377
[email protected]29672ab2009-10-30 03:44:03378void BrowserProcessImpl::CreateNotificationUIManager() {
379 DCHECK(notification_ui_manager_.get() == NULL);
380 notification_ui_manager_.reset(NotificationUIManager::Create());
381 created_notification_ui_manager_ = true;
382}
383
[email protected]6641bf662009-08-21 00:34:09384// The BrowserProcess object must outlive the file thread so we use traits
385// which don't do any management.
386template <>
387struct RunnableMethodTraits<BrowserProcessImpl> {
[email protected]ee5e3792009-10-13 23:23:47388 void RetainCallee(BrowserProcessImpl* process) {}
389 void ReleaseCallee(BrowserProcessImpl* process) {}
[email protected]6641bf662009-08-21 00:34:09390};
391
392void BrowserProcessImpl::CheckForInspectorFiles() {
393 file_thread()->message_loop()->PostTask
394 (FROM_HERE,
395 NewRunnableMethod(this, &BrowserProcessImpl::DoInspectorFilesCheck));
396}
397
[email protected]d55aaa132009-09-28 21:08:04398#if defined(IPC_MESSAGE_LOG_ENABLED)
399
400void BrowserProcessImpl::SetIPCLoggingEnabled(bool enable) {
401 // First enable myself.
402 if (enable)
403 IPC::Logging::current()->Enable();
404 else
405 IPC::Logging::current()->Disable();
406
407 // Now tell subprocesses. Messages to ChildProcess-derived
408 // processes must be done on the IO thread.
409 io_thread()->message_loop()->PostTask
410 (FROM_HERE,
411 NewRunnableMethod(
412 this,
413 &BrowserProcessImpl::SetIPCLoggingEnabledForChildProcesses,
414 enable));
415
416 // Finally, tell the renderers which don't derive from ChildProcess.
417 // Messages to the renderers must be done on the UI (main) thread.
[email protected]019191a2009-10-02 20:37:27418 for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator());
419 !i.IsAtEnd(); i.Advance())
420 i.GetCurrentValue()->Send(new ViewMsg_SetIPCLoggingEnabled(enable));
[email protected]d55aaa132009-09-28 21:08:04421}
422
423// Helper for SetIPCLoggingEnabled.
424void BrowserProcessImpl::SetIPCLoggingEnabledForChildProcesses(bool enabled) {
[email protected]d85cf072009-10-27 03:59:31425 DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
[email protected]d55aaa132009-09-28 21:08:04426
427 ChildProcessHost::Iterator i; // default constr references a singleton
[email protected]34cf97d2009-09-29 22:46:11428 while (!i.Done()) {
429 i->Send(new PluginProcessMsg_SetIPCLoggingEnabled(enabled));
430 ++i;
[email protected]d55aaa132009-09-28 21:08:04431 }
432}
433
434#endif // IPC_MESSAGE_LOG_ENABLED
435
[email protected]6641bf662009-08-21 00:34:09436void BrowserProcessImpl::DoInspectorFilesCheck() {
437 // Runs on FILE thread.
438 DCHECK(file_thread_->message_loop() == MessageLoop::current());
439 bool result = false;
440
441 FilePath inspector_dir;
442 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) {
443 result = file_util::PathExists(inspector_dir);
444 }
445
[email protected]308080d2009-11-11 19:19:02446 have_inspector_files_ = result;
[email protected]6641bf662009-08-21 00:34:09447}