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

Side by Side Diff: chrome/browser/ui/browser_init.cc

Issue 4840001: Cleanup: Remove chrome/browser/browser_navigator.* and references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix. Created 10 years, 1 month 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/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_init.h" 5 #include "chrome/browser/browser_init.h"
6 6
7 #include <algorithm> // For max(). 7 #include <algorithm> // For max().
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/event_recorder.h" 12 #include "base/event_recorder.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/thread_restrictions.h" 18 #include "base/thread_restrictions.h"
19 #include "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
20 #include "chrome/browser/automation/automation_provider.h" 20 #include "chrome/browser/automation/automation_provider.h"
21 #include "chrome/browser/automation/automation_provider_list.h" 21 #include "chrome/browser/automation/automation_provider_list.h"
22 #include "chrome/browser/automation/chrome_frame_automation_provider.h" 22 #include "chrome/browser/automation/chrome_frame_automation_provider.h"
23 #include "chrome/browser/automation/testing_automation_provider.h" 23 #include "chrome/browser/automation/testing_automation_provider.h"
24 #include "chrome/browser/browser_list.h" 24 #include "chrome/browser/browser_list.h"
25 #include "chrome/browser/browser_navigator.h"
26 #include "chrome/browser/browser_process.h" 25 #include "chrome/browser/browser_process.h"
27 #include "chrome/browser/browser_thread.h" 26 #include "chrome/browser/browser_thread.h"
28 #include "chrome/browser/browser_window.h" 27 #include "chrome/browser/browser_window.h"
29 #include "chrome/browser/child_process_security_policy.h" 28 #include "chrome/browser/child_process_security_policy.h"
30 #include "chrome/browser/defaults.h" 29 #include "chrome/browser/defaults.h"
31 #include "chrome/browser/extensions/extension_creator.h" 30 #include "chrome/browser/extensions/extension_creator.h"
32 #include "chrome/browser/extensions/extensions_service.h" 31 #include "chrome/browser/extensions/extensions_service.h"
33 #include "chrome/browser/extensions/pack_extension_job.h" 32 #include "chrome/browser/extensions/pack_extension_job.h"
34 #include "chrome/browser/first_run/first_run.h" 33 #include "chrome/browser/first_run/first_run.h"
35 #include "chrome/browser/net/predictor_api.h" 34 #include "chrome/browser/net/predictor_api.h"
36 #include "chrome/browser/net/url_fixer_upper.h" 35 #include "chrome/browser/net/url_fixer_upper.h"
37 #include "chrome/browser/notifications/desktop_notification_service.h" 36 #include "chrome/browser/notifications/desktop_notification_service.h"
38 #include "chrome/browser/prefs/pref_service.h" 37 #include "chrome/browser/prefs/pref_service.h"
39 #include "chrome/browser/prefs/session_startup_pref.h" 38 #include "chrome/browser/prefs/session_startup_pref.h"
40 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" 39 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h"
41 #include "chrome/browser/profile.h" 40 #include "chrome/browser/profile.h"
42 #include "chrome/browser/renderer_host/render_process_host.h" 41 #include "chrome/browser/renderer_host/render_process_host.h"
43 #include "chrome/browser/search_engines/template_url.h" 42 #include "chrome/browser/search_engines/template_url.h"
44 #include "chrome/browser/search_engines/template_url_model.h" 43 #include "chrome/browser/search_engines/template_url_model.h"
45 #include "chrome/browser/sessions/session_restore.h" 44 #include "chrome/browser/sessions/session_restore.h"
46 #include "chrome/browser/sessions/session_service.h" 45 #include "chrome/browser/sessions/session_service.h"
47 #include "chrome/browser/shell_integration.h" 46 #include "chrome/browser/shell_integration.h"
48 #include "chrome/browser/tab_contents/infobar_delegate.h" 47 #include "chrome/browser/tab_contents/infobar_delegate.h"
49 #include "chrome/browser/tab_contents/navigation_controller.h" 48 #include "chrome/browser/tab_contents/navigation_controller.h"
50 #include "chrome/browser/tab_contents/tab_contents.h" 49 #include "chrome/browser/tab_contents/tab_contents.h"
51 #include "chrome/browser/tab_contents/tab_contents_view.h" 50 #include "chrome/browser/tab_contents/tab_contents_view.h"
52 #include "chrome/browser/tabs/pinned_tab_codec.h" 51 #include "chrome/browser/tabs/pinned_tab_codec.h"
53 #include "chrome/browser/tabs/tab_strip_model.h" 52 #include "chrome/browser/tabs/tab_strip_model.h"
53 #include "chrome/browser/ui/browser_navigator.h"
54 #include "chrome/common/chrome_constants.h" 54 #include "chrome/common/chrome_constants.h"
55 #include "chrome/common/chrome_paths.h" 55 #include "chrome/common/chrome_paths.h"
56 #include "chrome/common/chrome_switches.h" 56 #include "chrome/common/chrome_switches.h"
57 #include "chrome/common/pref_names.h" 57 #include "chrome/common/pref_names.h"
58 #include "chrome/common/result_codes.h" 58 #include "chrome/common/result_codes.h"
59 #include "chrome/common/url_constants.h" 59 #include "chrome/common/url_constants.h"
60 #include "chrome/installer/util/browser_distribution.h" 60 #include "chrome/installer/util/browser_distribution.h"
61 #include "grit/chromium_strings.h" 61 #include "grit/chromium_strings.h"
62 #include "grit/generated_resources.h" 62 #include "grit/generated_resources.h"
63 #include "grit/locale_settings.h" 63 #include "grit/locale_settings.h"
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 scoped_refptr<AutomationProviderClass> automation = 1026 scoped_refptr<AutomationProviderClass> automation =
1027 new AutomationProviderClass(profile); 1027 new AutomationProviderClass(profile);
1028 automation->ConnectToChannel(channel_id); 1028 automation->ConnectToChannel(channel_id);
1029 automation->SetExpectedTabCount(expected_tabs); 1029 automation->SetExpectedTabCount(expected_tabs);
1030 1030
1031 AutomationProviderList* list = 1031 AutomationProviderList* list =
1032 g_browser_process->InitAutomationProviderList(); 1032 g_browser_process->InitAutomationProviderList();
1033 DCHECK(list); 1033 DCHECK(list);
1034 list->AddProvider(automation); 1034 list->AddProvider(automation);
1035 } 1035 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698