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

Side by Side Diff: chrome_frame/urlmon_url_request.h

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove const Created 8 years, 3 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/test/url_request_test.cc ('k') | chrome_frame/urlmon_url_request.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) 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 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_ 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_
6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_ 6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_
7 7
8 #include <urlmon.h> 8 #include <urlmon.h>
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlcom.h> 10 #include <atlcom.h>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void StartRequest(int request_id, 89 virtual void StartRequest(int request_id,
90 const AutomationURLRequest& request_info); 90 const AutomationURLRequest& request_info);
91 virtual void ReadRequest(int request_id, int bytes_to_read); 91 virtual void ReadRequest(int request_id, int bytes_to_read);
92 virtual void EndRequest(int request_id); 92 virtual void EndRequest(int request_id);
93 virtual void DownloadRequestInHost(int request_id); 93 virtual void DownloadRequestInHost(int request_id);
94 virtual void StopAll(); 94 virtual void StopAll();
95 virtual void GetCookiesForUrl(const GURL& url, int cookie_id); 95 virtual void GetCookiesForUrl(const GURL& url, int cookie_id);
96 virtual void SetCookiesForUrl(const GURL& url, const std::string& cookie); 96 virtual void SetCookiesForUrl(const GURL& url, const std::string& cookie);
97 97
98 // PluginUrlRequestDelegate implementation 98 // PluginUrlRequestDelegate implementation
99 virtual void OnResponseStarted(int request_id, const char* mime_type, 99 virtual void OnResponseStarted(
100 const char* headers, int size, 100 int request_id, const char* mime_type, const char* headers, int size,
101 base::Time last_modified, 101 base::Time last_modified, const std::string& redirect_url,
102 const std::string& redirect_url, 102 int redirect_status, const net::HostPortPair& socket_address,
103 int redirect_status, 103 uint64 upload_size);
104 const net::HostPortPair& socket_address);
105 virtual void OnReadComplete(int request_id, const std::string& data); 104 virtual void OnReadComplete(int request_id, const std::string& data);
106 virtual void OnResponseEnd(int request_id, 105 virtual void OnResponseEnd(int request_id,
107 const net::URLRequestStatus& status); 106 const net::URLRequestStatus& status);
108 virtual void OnCookiesRetrieved(bool success, const GURL& url, 107 virtual void OnCookiesRetrieved(bool success, const GURL& url,
109 const std::string& cookie_string, 108 const std::string& cookie_string,
110 int cookie_id); 109 int cookie_id);
111 110
112 // This method is passed as a callback to UrlmonUrlRequest::TerminateBind. 111 // This method is passed as a callback to UrlmonUrlRequest::TerminateBind.
113 // We simply forward moniker and bind_ctx to host ActiveX/ActiveDocument, 112 // We simply forward moniker and bind_ctx to host ActiveX/ActiveDocument,
114 // so it may start NavigateWithBindContext. 113 // so it may start NavigateWithBindContext.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // The window to be used to fire notifications on. 152 // The window to be used to fire notifications on.
154 HWND notification_window_; 153 HWND notification_window_;
155 // Set to true if the ChromeFrame instance is running in privileged mode. 154 // Set to true if the ChromeFrame instance is running in privileged mode.
156 bool privileged_mode_; 155 bool privileged_mode_;
157 // A pointer to the containing object. We maintain a weak reference to avoid 156 // A pointer to the containing object. We maintain a weak reference to avoid
158 // lifetime issues. 157 // lifetime issues.
159 IUnknown* container_; 158 IUnknown* container_;
160 }; 159 };
161 160
162 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ 161 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/url_request_test.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698