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

Side by Side Diff: chrome_frame/urlmon_url_request_private.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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/urlmon_url_request.cc ('k') | chrome_frame/utils.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_PRIVATE_H_ 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_
6 #define CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ 6 #define CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <string> 10 #include <string>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 result_.set_os_error(HresultToNetError(hr)); 221 result_.set_os_error(HresultToNetError(hr));
222 } 222 }
223 223
224 private: 224 private:
225 Redirection redirect_; 225 Redirection redirect_;
226 State state_; 226 State state_;
227 net::URLRequestStatus result_; 227 net::URLRequestStatus result_;
228 }; 228 };
229 229
230 Status status_; 230 Status status_;
231 ScopedComPtr<IBinding> binding_; 231 base::win::ScopedComPtr<IBinding> binding_;
232 ScopedComPtr<IMoniker> moniker_; 232 base::win::ScopedComPtr<IMoniker> moniker_;
233 ScopedComPtr<IBindCtx> bind_context_; 233 base::win::ScopedComPtr<IBindCtx> bind_context_;
234 ScopedComPtr<IStream> cache_; 234 base::win::ScopedComPtr<IStream> cache_;
235 ScopedComPtr<IStream> pending_data_; 235 base::win::ScopedComPtr<IStream> pending_data_;
236 236
237 size_t pending_read_size_; 237 size_t pending_read_size_;
238 base::PlatformThreadId thread_; 238 base::PlatformThreadId thread_;
239 HWND parent_window_; 239 HWND parent_window_;
240 bool headers_received_; 240 bool headers_received_;
241 int calling_delegate_; // re-entrancy protection. 241 int calling_delegate_; // re-entrancy protection.
242 // Set to true if the ChromeFrame instance is running in privileged mode. 242 // Set to true if the ChromeFrame instance is running in privileged mode.
243 bool privileged_mode_; 243 bool privileged_mode_;
244 bool pending_; 244 bool pending_;
245 scoped_ptr<TerminateBindCallback> terminate_bind_callback_; 245 scoped_ptr<TerminateBindCallback> terminate_bind_callback_;
246 std::string response_headers_; 246 std::string response_headers_;
247 // Defaults to true and indicates whether we want to keep the original 247 // Defaults to true and indicates whether we want to keep the original
248 // transaction alive when we receive the last data notification from 248 // transaction alive when we receive the last data notification from
249 // urlmon. 249 // urlmon.
250 bool is_expecting_download_; 250 bool is_expecting_download_;
251 // Set to true if the Urlmon transaction object needs to be cleaned up 251 // Set to true if the Urlmon transaction object needs to be cleaned up
252 // when this object is destroyed. Happens if we return 252 // when this object is destroyed. Happens if we return
253 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. 253 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification.
254 bool cleanup_transaction_; 254 bool cleanup_transaction_;
255 // Copy of the request headers. 255 // Copy of the request headers.
256 std::string request_headers_; 256 std::string request_headers_;
257 257
258 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); 258 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest);
259 }; 259 };
260 260
261 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ 261 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_
OLDNEW
« no previous file with comments | « chrome_frame/urlmon_url_request.cc ('k') | chrome_frame/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698