Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: chrome_frame/chrome_frame_automation.cc

Issue 6166010: net: Remove typedef net::URLRequestStatus URLRequestStatus; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/cfproxy_test.cc ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 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_frame/chrome_frame_automation.h" 5 #include "chrome_frame/chrome_frame_automation.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 automation_server_->Send(new AutomationMsg_RequestStarted( 1446 automation_server_->Send(new AutomationMsg_RequestStarted(
1447 tab_->handle(), request_id, response)); 1447 tab_->handle(), request_id, response));
1448 } 1448 }
1449 1449
1450 void ChromeFrameAutomationClient::OnReadComplete(int request_id, 1450 void ChromeFrameAutomationClient::OnReadComplete(int request_id,
1451 const std::string& data) { 1451 const std::string& data) {
1452 automation_server_->Send(new AutomationMsg_RequestData( 1452 automation_server_->Send(new AutomationMsg_RequestData(
1453 tab_->handle(), request_id, data)); 1453 tab_->handle(), request_id, data));
1454 } 1454 }
1455 1455
1456 void ChromeFrameAutomationClient::OnResponseEnd(int request_id, 1456 void ChromeFrameAutomationClient::OnResponseEnd(
1457 const URLRequestStatus& status) { 1457 int request_id,
1458 const net::URLRequestStatus& status) {
1458 automation_server_->Send(new AutomationMsg_RequestEnd( 1459 automation_server_->Send(new AutomationMsg_RequestEnd(
1459 tab_->handle(), request_id, status)); 1460 tab_->handle(), request_id, status));
1460 } 1461 }
1461 1462
1462 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, 1463 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success,
1463 const GURL& url, const std::string& cookie_string, int cookie_id) { 1464 const GURL& url, const std::string& cookie_string, int cookie_id) {
1464 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( 1465 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse(
1465 tab_->handle(), success, url, cookie_string, cookie_id)); 1466 tab_->handle(), success, url, cookie_string, cookie_id));
1466 } 1467 }
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy_test.cc ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698