| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 24 matching lines...) Expand all Loading... |
| 35 #include "chrome/browser/automation/automation_provider_observers.h" | 35 #include "chrome/browser/automation/automation_provider_observers.h" |
| 36 #include "chrome/browser/automation/automation_tab_tracker.h" | 36 #include "chrome/browser/automation/automation_tab_tracker.h" |
| 37 #include "chrome/browser/automation/automation_util.h" | 37 #include "chrome/browser/automation/automation_util.h" |
| 38 #include "chrome/browser/automation/automation_window_tracker.h" | 38 #include "chrome/browser/automation/automation_window_tracker.h" |
| 39 #include "chrome/browser/automation/ui_controls.h" | 39 #include "chrome/browser/automation/ui_controls.h" |
| 40 #include "chrome/browser/bookmarks/bookmark_model.h" | 40 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 41 #include "chrome/browser/bookmarks/bookmark_storage.h" | 41 #include "chrome/browser/bookmarks/bookmark_storage.h" |
| 42 #include "chrome/browser/browser_process.h" | 42 #include "chrome/browser/browser_process.h" |
| 43 #include "chrome/browser/browser_shutdown.h" | 43 #include "chrome/browser/browser_shutdown.h" |
| 44 #include "chrome/browser/content_settings/host_content_settings_map.h" | 44 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 45 #include "chrome/browser/debugger/devtools_manager.h" | |
| 46 #include "chrome/browser/download/download_prefs.h" | 45 #include "chrome/browser/download/download_prefs.h" |
| 47 #include "chrome/browser/download/download_shelf.h" | 46 #include "chrome/browser/download/download_shelf.h" |
| 48 #include "chrome/browser/download/save_package.h" | 47 #include "chrome/browser/download/save_package.h" |
| 49 #include "chrome/browser/extensions/extension_host.h" | 48 #include "chrome/browser/extensions/extension_host.h" |
| 50 #include "chrome/browser/extensions/extension_service.h" | 49 #include "chrome/browser/extensions/extension_service.h" |
| 51 #include "chrome/browser/extensions/extension_updater.h" | 50 #include "chrome/browser/extensions/extension_updater.h" |
| 52 #include "chrome/browser/history/top_sites.h" | 51 #include "chrome/browser/history/top_sites.h" |
| 53 #include "chrome/browser/importer/importer_host.h" | 52 #include "chrome/browser/importer/importer_host.h" |
| 54 #include "chrome/browser/instant/instant_controller.h" | 53 #include "chrome/browser/instant/instant_controller.h" |
| 55 #include "chrome/browser/notifications/balloon.h" | 54 #include "chrome/browser/notifications/balloon.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 #include "chrome/common/automation_messages.h" | 90 #include "chrome/common/automation_messages.h" |
| 92 #include "chrome/common/chrome_constants.h" | 91 #include "chrome/common/chrome_constants.h" |
| 93 #include "chrome/common/chrome_paths.h" | 92 #include "chrome/common/chrome_paths.h" |
| 94 #include "chrome/common/chrome_switches.h" | 93 #include "chrome/common/chrome_switches.h" |
| 95 #include "chrome/common/extensions/extension.h" | 94 #include "chrome/common/extensions/extension.h" |
| 96 #include "chrome/common/extensions/url_pattern.h" | 95 #include "chrome/common/extensions/url_pattern.h" |
| 97 #include "chrome/common/extensions/url_pattern_set.h" | 96 #include "chrome/common/extensions/url_pattern_set.h" |
| 98 #include "chrome/common/pref_names.h" | 97 #include "chrome/common/pref_names.h" |
| 99 #include "chrome/common/render_messages.h" | 98 #include "chrome/common/render_messages.h" |
| 100 #include "chrome/common/url_constants.h" | 99 #include "chrome/common/url_constants.h" |
| 100 #include "content/browser/debugger/devtools_manager.h" |
| 101 #include "content/browser/renderer_host/render_process_host.h" | 101 #include "content/browser/renderer_host/render_process_host.h" |
| 102 #include "content/browser/renderer_host/render_view_host.h" | 102 #include "content/browser/renderer_host/render_view_host.h" |
| 103 #include "content/browser/tab_contents/interstitial_page.h" | 103 #include "content/browser/tab_contents/interstitial_page.h" |
| 104 #include "content/common/common_param_traits.h" | 104 #include "content/common/common_param_traits.h" |
| 105 #include "content/common/notification_service.h" | 105 #include "content/common/notification_service.h" |
| 106 #include "net/base/cookie_store.h" | 106 #include "net/base/cookie_store.h" |
| 107 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 107 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 108 #include "ui/base/events.h" | 108 #include "ui/base/events.h" |
| 109 #include "ui/base/keycodes/keyboard_codes.h" | 109 #include "ui/base/keycodes/keyboard_codes.h" |
| 110 #include "ui/base/message_box_flags.h" | 110 #include "ui/base/message_box_flags.h" |
| (...skipping 5877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5988 IPC::ParamTraits<std::vector<GURL> >::Write(reply_message_, redirects_gurl); | 5988 IPC::ParamTraits<std::vector<GURL> >::Write(reply_message_, redirects_gurl); |
| 5989 | 5989 |
| 5990 Send(reply_message_); | 5990 Send(reply_message_); |
| 5991 redirect_query_ = 0; | 5991 redirect_query_ = 0; |
| 5992 reply_message_ = NULL; | 5992 reply_message_ = NULL; |
| 5993 } | 5993 } |
| 5994 | 5994 |
| 5995 void TestingAutomationProvider::OnRemoveProvider() { | 5995 void TestingAutomationProvider::OnRemoveProvider() { |
| 5996 AutomationProviderList::GetInstance()->RemoveProvider(this); | 5996 AutomationProviderList::GetInstance()->RemoveProvider(this); |
| 5997 } | 5997 } |
| OLD | NEW |