| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/automation/testing_automation_provider.h" | 5 #include "chrome/browser/automation/testing_automation_provider.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "chrome/browser/bookmarks/bookmark_storage.h" | 43 #include "chrome/browser/bookmarks/bookmark_storage.h" |
| 44 #include "chrome/browser/browser_process.h" | 44 #include "chrome/browser/browser_process.h" |
| 45 #include "chrome/browser/browser_shutdown.h" | 45 #include "chrome/browser/browser_shutdown.h" |
| 46 #include "chrome/browser/content_settings/host_content_settings_map.h" | 46 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 47 #include "chrome/browser/debugger/devtools_window.h" | 47 #include "chrome/browser/debugger/devtools_window.h" |
| 48 #include "chrome/browser/download/download_prefs.h" | 48 #include "chrome/browser/download/download_prefs.h" |
| 49 #include "chrome/browser/download/download_service.h" | 49 #include "chrome/browser/download/download_service.h" |
| 50 #include "chrome/browser/download/download_service_factory.h" | 50 #include "chrome/browser/download/download_service_factory.h" |
| 51 #include "chrome/browser/download/download_shelf.h" | 51 #include "chrome/browser/download/download_shelf.h" |
| 52 #include "chrome/browser/download/save_package_file_picker.h" | 52 #include "chrome/browser/download/save_package_file_picker.h" |
| 53 #include "chrome/browser/extensions/browser_action_test_util.h" |
| 53 #include "chrome/browser/extensions/crx_installer.h" | 54 #include "chrome/browser/extensions/crx_installer.h" |
| 54 #include "chrome/browser/extensions/browser_action_test_util.h" | |
| 55 #include "chrome/browser/extensions/extension_host.h" | 55 #include "chrome/browser/extensions/extension_host.h" |
| 56 #include "chrome/browser/extensions/extension_process_manager.h" | 56 #include "chrome/browser/extensions/extension_process_manager.h" |
| 57 #include "chrome/browser/extensions/extension_service.h" | 57 #include "chrome/browser/extensions/extension_service.h" |
| 58 #include "chrome/browser/extensions/extension_tab_util.h" | 58 #include "chrome/browser/extensions/extension_tab_util.h" |
| 59 #include "chrome/browser/extensions/extension_updater.h" | 59 #include "chrome/browser/extensions/extension_updater.h" |
| 60 #include "chrome/browser/extensions/unpacked_installer.h" | 60 #include "chrome/browser/extensions/unpacked_installer.h" |
| 61 #include "chrome/browser/history/top_sites.h" | 61 #include "chrome/browser/history/top_sites.h" |
| 62 #include "chrome/browser/importer/importer_host.h" | 62 #include "chrome/browser/importer/importer_host.h" |
| 63 #include "chrome/browser/importer/importer_list.h" | 63 #include "chrome/browser/importer/importer_list.h" |
| 64 #include "chrome/browser/infobars/infobar_tab_helper.h" | 64 #include "chrome/browser/infobars/infobar_tab_helper.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 #include "chrome/common/chrome_switches.h" | 114 #include "chrome/common/chrome_switches.h" |
| 115 #include "chrome/common/chrome_view_type.h" | 115 #include "chrome/common/chrome_view_type.h" |
| 116 #include "chrome/common/extensions/extension.h" | 116 #include "chrome/common/extensions/extension.h" |
| 117 #include "chrome/common/extensions/extension_action.h" | 117 #include "chrome/common/extensions/extension_action.h" |
| 118 #include "chrome/common/extensions/url_pattern.h" | 118 #include "chrome/common/extensions/url_pattern.h" |
| 119 #include "chrome/common/extensions/url_pattern_set.h" | 119 #include "chrome/common/extensions/url_pattern_set.h" |
| 120 #include "chrome/common/pref_names.h" | 120 #include "chrome/common/pref_names.h" |
| 121 #include "chrome/common/render_messages.h" | 121 #include "chrome/common/render_messages.h" |
| 122 #include "chrome/common/url_constants.h" | 122 #include "chrome/common/url_constants.h" |
| 123 #include "content/browser/renderer_host/render_view_host.h" | 123 #include "content/browser/renderer_host/render_view_host.h" |
| 124 #include "content/browser/renderer_host/render_widget_host_view.h" | |
| 125 #include "content/public/browser/browser_child_process_host_iterator.h" | 124 #include "content/public/browser/browser_child_process_host_iterator.h" |
| 126 #include "content/public/browser/child_process_data.h" | 125 #include "content/public/browser/child_process_data.h" |
| 127 #include "content/public/browser/favicon_status.h" | 126 #include "content/public/browser/favicon_status.h" |
| 128 #include "content/public/browser/interstitial_page.h" | 127 #include "content/public/browser/interstitial_page.h" |
| 129 #include "content/public/browser/interstitial_page_delegate.h" | 128 #include "content/public/browser/interstitial_page_delegate.h" |
| 130 #include "content/public/browser/navigation_entry.h" | 129 #include "content/public/browser/navigation_entry.h" |
| 131 #include "content/public/browser/notification_service.h" | 130 #include "content/public/browser/notification_service.h" |
| 132 #include "content/public/browser/plugin_service.h" | 131 #include "content/public/browser/plugin_service.h" |
| 133 #include "content/public/browser/render_process_host.h" | 132 #include "content/public/browser/render_process_host.h" |
| 133 #include "content/public/browser/render_widget_host_view.h" |
| 134 #include "content/public/browser/web_contents.h" | 134 #include "content/public/browser/web_contents.h" |
| 135 #include "content/public/common/child_process_host.h" | 135 #include "content/public/common/child_process_host.h" |
| 136 #include "content/public/common/common_param_traits.h" | 136 #include "content/public/common/common_param_traits.h" |
| 137 #include "content/public/common/ssl_status.h" | 137 #include "content/public/common/ssl_status.h" |
| 138 #include "net/base/cookie_store.h" | 138 #include "net/base/cookie_store.h" |
| 139 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 139 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 140 #include "ui/base/events.h" | 140 #include "ui/base/events.h" |
| 141 #include "ui/base/keycodes/keyboard_codes.h" | 141 #include "ui/base/keycodes/keyboard_codes.h" |
| 142 #include "ui/base/ui_base_types.h" | 142 #include "ui/base/ui_base_types.h" |
| 143 #include "webkit/glue/webdropdata.h" | 143 #include "webkit/glue/webdropdata.h" |
| (...skipping 6829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6973 | 6973 |
| 6974 Send(reply_message_); | 6974 Send(reply_message_); |
| 6975 redirect_query_ = 0; | 6975 redirect_query_ = 0; |
| 6976 reply_message_ = NULL; | 6976 reply_message_ = NULL; |
| 6977 } | 6977 } |
| 6978 | 6978 |
| 6979 void TestingAutomationProvider::OnRemoveProvider() { | 6979 void TestingAutomationProvider::OnRemoveProvider() { |
| 6980 if (g_browser_process) | 6980 if (g_browser_process) |
| 6981 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); | 6981 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); |
| 6982 } | 6982 } |
| OLD | NEW |