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_frame/chrome_frame_automation.h" | 5 #include "chrome_frame/chrome_frame_automation.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.h" |
13 #include "base/file_version_info.h" | 13 #include "base/file_version_info.h" |
14 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/process_util.h" | 17 #include "base/process_util.h" |
18 #include "base/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
22 #include "base/sys_info.h" | 22 #include "base/sys_info.h" |
23 #include "chrome/app/client_util.h" | 23 #include "chrome/app/client_util.h" |
24 #include "chrome/common/automation_messages.h" | 24 #include "chrome/common/automation_messages.h" |
25 #include "chrome/common/chrome_constants.h" | 25 #include "chrome/common/chrome_constants.h" |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/test/automation/tab_proxy.h" | 27 #include "chrome/test/automation/tab_proxy.h" |
28 #include "chrome_frame/chrome_launcher_utils.h" | 28 #include "chrome_frame/chrome_launcher_utils.h" |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 const net::URLRequestStatus& status) { | 1286 const net::URLRequestStatus& status) { |
1287 automation_server_->Send(new AutomationMsg_RequestEnd( | 1287 automation_server_->Send(new AutomationMsg_RequestEnd( |
1288 tab_->handle(), request_id, status)); | 1288 tab_->handle(), request_id, status)); |
1289 } | 1289 } |
1290 | 1290 |
1291 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, | 1291 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, |
1292 const GURL& url, const std::string& cookie_string, int cookie_id) { | 1292 const GURL& url, const std::string& cookie_string, int cookie_id) { |
1293 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( | 1293 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( |
1294 tab_->handle(), success, url, cookie_string, cookie_id)); | 1294 tab_->handle(), success, url, cookie_string, cookie_id)); |
1295 } | 1295 } |
OLD | NEW |