OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/browser_process_impl.h" | 5 #include "chrome/browser/browser_process_impl.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "base/clipboard.h" | 8 #include "base/clipboard.h" |
8 #include "base/command_line.h" | 9 #include "base/command_line.h" |
9 #include "base/path_service.h" | 10 #include "base/path_service.h" |
10 #include "base/thread.h" | 11 #include "base/thread.h" |
11 #include "base/waitable_event.h" | 12 #include "base/waitable_event.h" |
12 #include "chrome/browser/browser_trial.h" | 13 #include "chrome/browser/browser_trial.h" |
13 #include "chrome/browser/chrome_thread.h" | 14 #include "chrome/browser/chrome_thread.h" |
14 #include "chrome/browser/debugger/debugger_wrapper.h" | 15 #include "chrome/browser/debugger/debugger_wrapper.h" |
15 #include "chrome/browser/debugger/devtools_manager.h" | 16 #include "chrome/browser/debugger/devtools_manager.h" |
16 #include "chrome/browser/download/download_file.h" | 17 #include "chrome/browser/download/download_file.h" |
17 #include "chrome/browser/download/save_file_manager.h" | 18 #include "chrome/browser/download/save_file_manager.h" |
18 #include "chrome/browser/google_url_tracker.h" | 19 #include "chrome/browser/google_url_tracker.h" |
19 #include "chrome/browser/metrics/metrics_service.h" | 20 #include "chrome/browser/metrics/metrics_service.h" |
20 #include "chrome/browser/net/dns_global.h" | 21 #include "chrome/browser/net/dns_global.h" |
21 #include "chrome/browser/plugin_service.h" | 22 #include "chrome/browser/plugin_service.h" |
22 #include "chrome/browser/profile_manager.h" | 23 #include "chrome/browser/profile_manager.h" |
23 #include "chrome/browser/renderer_host/render_process_host.h" | 24 #include "chrome/browser/renderer_host/render_process_host.h" |
24 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 25 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
25 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 26 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
26 #include "chrome/common/chrome_paths.h" | 27 #include "chrome/common/chrome_paths.h" |
27 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
28 #include "chrome/common/l10n_util.h" | |
29 #include "chrome/common/notification_service.h" | 29 #include "chrome/common/notification_service.h" |
30 #include "chrome/common/pref_names.h" | 30 #include "chrome/common/pref_names.h" |
31 #include "chrome/common/pref_service.h" | 31 #include "chrome/common/pref_service.h" |
32 | 32 |
33 #if defined(OS_WIN) | 33 #if defined(OS_WIN) |
34 #include "chrome/browser/automation/automation_provider_list.h" | 34 #include "chrome/browser/automation/automation_provider_list.h" |
35 #include "chrome/browser/icon_manager.h" | 35 #include "chrome/browser/icon_manager.h" |
36 #include "chrome/browser/printing/print_job_manager.h" | 36 #include "chrome/browser/printing/print_job_manager.h" |
37 #include "chrome/views/focus/view_storage.h" | 37 #include "chrome/views/focus/view_storage.h" |
38 #include "chrome/views/widget/accelerator_handler.h" | 38 #include "chrome/views/widget/accelerator_handler.h" |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 #else | 390 #else |
391 // TODO(port): remove this completely, it has no business being here. | 391 // TODO(port): remove this completely, it has no business being here. |
392 #endif | 392 #endif |
393 } | 393 } |
394 | 394 |
395 void BrowserProcessImpl::CreateGoogleURLTracker() { | 395 void BrowserProcessImpl::CreateGoogleURLTracker() { |
396 DCHECK(google_url_tracker_.get() == NULL); | 396 DCHECK(google_url_tracker_.get() == NULL); |
397 scoped_ptr<GoogleURLTracker> google_url_tracker(new GoogleURLTracker); | 397 scoped_ptr<GoogleURLTracker> google_url_tracker(new GoogleURLTracker); |
398 google_url_tracker_.swap(google_url_tracker); | 398 google_url_tracker_.swap(google_url_tracker); |
399 } | 399 } |
OLD | NEW |