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_util.h" | |
14 #include "base/file_version_info.h" | 13 #include "base/file_version_info.h" |
15 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
16 #include "base/logging.h" | 15 #include "base/logging.h" |
17 #include "base/path_service.h" | 16 #include "base/path_service.h" |
18 #include "base/process_util.h" | 17 #include "base/process_util.h" |
19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
20 #include "base/synchronization/lock.h" | 19 #include "base/synchronization/lock.h" |
21 #include "base/synchronization/waitable_event.h" | 20 #include "base/synchronization/waitable_event.h" |
22 #include "base/sys_info.h" | 21 #include "base/sys_info.h" |
23 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 const net::URLRequestStatus& status) { | 1286 const net::URLRequestStatus& status) { |
1288 automation_server_->Send(new AutomationMsg_RequestEnd( | 1287 automation_server_->Send(new AutomationMsg_RequestEnd( |
1289 tab_->handle(), request_id, status)); | 1288 tab_->handle(), request_id, status)); |
1290 } | 1289 } |
1291 | 1290 |
1292 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, | 1291 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, |
1293 const GURL& url, const std::string& cookie_string, int cookie_id) { | 1292 const GURL& url, const std::string& cookie_string, int cookie_id) { |
1294 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( | 1293 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( |
1295 tab_->handle(), success, url, cookie_string, cookie_id)); | 1294 tab_->handle(), success, url, cookie_string, cookie_id)); |
1296 } | 1295 } |
OLD | NEW |