| OLD | NEW |
| 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/ui/browser_init.h" | 5 #include "chrome/browser/ui/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" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "chrome/browser/extensions/extension_creator.h" | 31 #include "chrome/browser/extensions/extension_creator.h" |
| 32 #include "chrome/browser/extensions/extensions_service.h" | 32 #include "chrome/browser/extensions/extensions_service.h" |
| 33 #include "chrome/browser/extensions/pack_extension_job.h" | 33 #include "chrome/browser/extensions/pack_extension_job.h" |
| 34 #include "chrome/browser/first_run/first_run.h" | 34 #include "chrome/browser/first_run/first_run.h" |
| 35 #include "chrome/browser/net/predictor_api.h" | 35 #include "chrome/browser/net/predictor_api.h" |
| 36 #include "chrome/browser/net/url_fixer_upper.h" | 36 #include "chrome/browser/net/url_fixer_upper.h" |
| 37 #include "chrome/browser/notifications/desktop_notification_service.h" | 37 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 38 #include "chrome/browser/prefs/pref_service.h" | 38 #include "chrome/browser/prefs/pref_service.h" |
| 39 #include "chrome/browser/prefs/session_startup_pref.h" | 39 #include "chrome/browser/prefs/session_startup_pref.h" |
| 40 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" | 40 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
| 41 #include "chrome/browser/profile.h" | 41 #include "chrome/browser/profiles/profile.h" |
| 42 #include "chrome/browser/renderer_host/render_process_host.h" | 42 #include "chrome/browser/renderer_host/render_process_host.h" |
| 43 #include "chrome/browser/search_engines/template_url.h" | 43 #include "chrome/browser/search_engines/template_url.h" |
| 44 #include "chrome/browser/search_engines/template_url_model.h" | 44 #include "chrome/browser/search_engines/template_url_model.h" |
| 45 #include "chrome/browser/sessions/session_restore.h" | 45 #include "chrome/browser/sessions/session_restore.h" |
| 46 #include "chrome/browser/sessions/session_service.h" | 46 #include "chrome/browser/sessions/session_service.h" |
| 47 #include "chrome/browser/shell_integration.h" | 47 #include "chrome/browser/shell_integration.h" |
| 48 #include "chrome/browser/tab_contents/infobar_delegate.h" | 48 #include "chrome/browser/tab_contents/infobar_delegate.h" |
| 49 #include "chrome/browser/tab_contents/navigation_controller.h" | 49 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 50 #include "chrome/browser/tab_contents/tab_contents.h" | 50 #include "chrome/browser/tab_contents/tab_contents.h" |
| 51 #include "chrome/browser/tab_contents/tab_contents_view.h" | 51 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 return false; | 1089 return false; |
| 1090 automation->SetExpectedTabCount(expected_tabs); | 1090 automation->SetExpectedTabCount(expected_tabs); |
| 1091 | 1091 |
| 1092 AutomationProviderList* list = | 1092 AutomationProviderList* list = |
| 1093 g_browser_process->InitAutomationProviderList(); | 1093 g_browser_process->InitAutomationProviderList(); |
| 1094 DCHECK(list); | 1094 DCHECK(list); |
| 1095 list->AddProvider(automation); | 1095 list->AddProvider(automation); |
| 1096 | 1096 |
| 1097 return true; | 1097 return true; |
| 1098 } | 1098 } |
| OLD | NEW |