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

Unified Diff: chrome_frame/plugin_url_request.h

Issue 5998006: Clean up Automation and Chrome Frame IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/npapi_url_request.cc ('k') | chrome_frame/test/automation_client_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/plugin_url_request.h
===================================================================
--- chrome_frame/plugin_url_request.h (revision 69966)
+++ chrome_frame/plugin_url_request.h (working copy)
@@ -68,20 +68,20 @@
// automation messages are received from Chrome.
// Strip 'tab' handle and forward to the virtual methods implemented by
// derived classes.
- void StartUrlRequest(int tab, int request_id,
- const IPC::AutomationURLRequest& request_info) {
+ void StartUrlRequest(int request_id,
+ const AutomationURLRequest& request_info) {
StartRequest(request_id, request_info);
}
- void ReadUrlRequest(int tab, int request_id, int bytes_to_read) {
+ void ReadUrlRequest(int request_id, int bytes_to_read) {
ReadRequest(request_id, bytes_to_read);
}
- void EndUrlRequest(int tab, int request_id, const URLRequestStatus& s) {
+ void EndUrlRequest(int request_id, const URLRequestStatus& s) {
EndRequest(request_id);
}
- void DownloadUrlRequestInHost(int tab, int request_id) {
+ void DownloadUrlRequestInHost(int request_id) {
DownloadRequestInHost(request_id);
}
@@ -89,12 +89,11 @@
StopAll();
}
- void GetCookiesFromHost(int tab_handle, const GURL& url, int cookie_id) {
+ void GetCookiesFromHost(const GURL& url, int cookie_id) {
GetCookiesForUrl(url, cookie_id);
}
- void SetCookiesInHost(int tab_handle, const GURL& url,
- const std::string& cookie) {
+ void SetCookiesInHost(const GURL& url, const std::string& cookie) {
SetCookiesForUrl(url, cookie);
}
@@ -103,8 +102,8 @@
bool enable_frame_busting_;
private:
- virtual void StartRequest(int request_id,
- const IPC::AutomationURLRequest& request_info) = 0;
+ virtual void StartRequest(
+ int request_id, const AutomationURLRequest& request_info) = 0;
virtual void ReadRequest(int request_id, int bytes_to_read) = 0;
virtual void EndRequest(int request_id) = 0;
virtual void DownloadRequestInHost(int request_id) = 0;
« no previous file with comments | « chrome_frame/npapi_url_request.cc ('k') | chrome_frame/test/automation_client_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698