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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 #include "chrome/common/chrome_constants.h" | 72 #include "chrome/common/chrome_constants.h" |
73 #include "chrome/common/chrome_paths.h" | 73 #include "chrome/common/chrome_paths.h" |
74 #include "chrome/common/chrome_switches.h" | 74 #include "chrome/common/chrome_switches.h" |
75 #include "chrome/common/net/url_request_context_getter.h" | 75 #include "chrome/common/net/url_request_context_getter.h" |
76 #include "chrome/common/notification_service.h" | 76 #include "chrome/common/notification_service.h" |
77 #include "chrome/common/pref_names.h" | 77 #include "chrome/common/pref_names.h" |
78 #include "chrome/common/url_constants.h" | 78 #include "chrome/common/url_constants.h" |
79 #include "content/browser/renderer_host/render_process_host.h" | 79 #include "content/browser/renderer_host/render_process_host.h" |
80 #include "content/browser/renderer_host/render_view_host.h" | 80 #include "content/browser/renderer_host/render_view_host.h" |
81 #include "content/browser/tab_contents/interstitial_page.h" | 81 #include "content/browser/tab_contents/interstitial_page.h" |
| 82 #include "content/common/common_param_traits.h" |
82 #include "net/base/cookie_store.h" | 83 #include "net/base/cookie_store.h" |
83 #include "net/url_request/url_request_context.h" | 84 #include "net/url_request/url_request_context.h" |
84 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
85 #include "ui/base/events.h" | 86 #include "ui/base/events.h" |
86 #include "ui/base/message_box_flags.h" | 87 #include "ui/base/message_box_flags.h" |
87 #include "webkit/plugins/npapi/plugin_list.h" | 88 #include "webkit/plugins/npapi/plugin_list.h" |
88 | 89 |
89 namespace { | 90 namespace { |
90 | 91 |
91 void GetCookiesOnIOThread( | 92 void GetCookiesOnIOThread( |
(...skipping 4930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5022 // If you change this, update Observer for NotificationType::SESSION_END | 5023 // If you change this, update Observer for NotificationType::SESSION_END |
5023 // below. | 5024 // below. |
5024 MessageLoop::current()->PostTask(FROM_HERE, | 5025 MessageLoop::current()->PostTask(FROM_HERE, |
5025 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); | 5026 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); |
5026 } | 5027 } |
5027 } | 5028 } |
5028 | 5029 |
5029 void TestingAutomationProvider::OnRemoveProvider() { | 5030 void TestingAutomationProvider::OnRemoveProvider() { |
5030 AutomationProviderList::GetInstance()->RemoveProvider(this); | 5031 AutomationProviderList::GetInstance()->RemoveProvider(this); |
5031 } | 5032 } |
OLD | NEW |