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" |
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/string_split.h" | 18 #include "base/string_split.h" |
19 #include "base/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
20 #include "base/utf_string_conversions.h" | 20 #include "base/utf_string_conversions.h" |
21 #include "chrome/browser/automation/automation_provider.h" | 21 #include "chrome/browser/automation/automation_provider.h" |
22 #include "chrome/browser/automation/automation_provider_list.h" | 22 #include "chrome/browser/automation/automation_provider_list.h" |
23 #include "chrome/browser/automation/chrome_frame_automation_provider.h" | 23 #include "chrome/browser/automation/chrome_frame_automation_provider.h" |
24 #include "chrome/browser/automation/testing_automation_provider.h" | 24 #include "chrome/browser/automation/testing_automation_provider.h" |
25 #include "chrome/browser/browser_list.h" | 25 #include "chrome/browser/browser_list.h" |
26 #include "chrome/browser/browser_process.h" | 26 #include "chrome/browser/browser_process.h" |
27 #include "chrome/browser/browser_thread.h" | 27 #include "chrome/browser/browser_thread.h" |
28 #include "chrome/browser/browser_window.h" | 28 #include "chrome/browser/browser_window.h" |
29 #include "chrome/browser/child_process_security_policy.h" | 29 #include "chrome/browser/child_process_security_policy.h" |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 return false; | 1100 return false; |
1101 automation->SetExpectedTabCount(expected_tabs); | 1101 automation->SetExpectedTabCount(expected_tabs); |
1102 | 1102 |
1103 AutomationProviderList* list = | 1103 AutomationProviderList* list = |
1104 g_browser_process->InitAutomationProviderList(); | 1104 g_browser_process->InitAutomationProviderList(); |
1105 DCHECK(list); | 1105 DCHECK(list); |
1106 list->AddProvider(automation); | 1106 list->AddProvider(automation); |
1107 | 1107 |
1108 return true; | 1108 return true; |
1109 } | 1109 } |
OLD | NEW |