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

Side by Side Diff: chrome_frame/urlmon_url_request_private.h

Issue 10836116: Purge ImplementsThreadSafeReferenceCounting() from the codebase now that Task is dead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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
OLDNEW
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 #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 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // This function passes information on whether ChromeFrame is running in 49 // This function passes information on whether ChromeFrame is running in
50 // privileged mode. 50 // privileged mode.
51 void set_privileged_mode(bool privileged_mode) { 51 void set_privileged_mode(bool privileged_mode) {
52 privileged_mode_ = privileged_mode; 52 privileged_mode_ = privileged_mode;
53 } 53 }
54 54
55 // Returns a string in the form " id: %i Obj: %X URL: %s" which is useful 55 // Returns a string in the form " id: %i Obj: %X URL: %s" which is useful
56 // to identify request objects in the log. 56 // to identify request objects in the log.
57 std::string me() const; 57 std::string me() const;
58 58
59 static bool ImplementsThreadSafeReferenceCounting() {
60 return true;
61 }
62
63 protected: 59 protected:
64 UrlmonUrlRequest(); 60 UrlmonUrlRequest();
65 ~UrlmonUrlRequest(); 61 ~UrlmonUrlRequest();
66 62
67 BEGIN_COM_MAP(UrlmonUrlRequest) 63 BEGIN_COM_MAP(UrlmonUrlRequest)
68 COM_INTERFACE_ENTRY(IHttpNegotiate) 64 COM_INTERFACE_ENTRY(IHttpNegotiate)
69 COM_INTERFACE_ENTRY(IServiceProvider) 65 COM_INTERFACE_ENTRY(IServiceProvider)
70 COM_INTERFACE_ENTRY(IBindStatusCallback) 66 COM_INTERFACE_ENTRY(IBindStatusCallback)
71 COM_INTERFACE_ENTRY(IWindowForBindingUI) 67 COM_INTERFACE_ENTRY(IWindowForBindingUI)
72 COM_INTERFACE_ENTRY(IAuthenticate) 68 COM_INTERFACE_ENTRY(IAuthenticate)
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // when this object is destroyed. Happens if we return 250 // when this object is destroyed. Happens if we return
255 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. 251 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification.
256 bool cleanup_transaction_; 252 bool cleanup_transaction_;
257 // Copy of the request headers. 253 // Copy of the request headers.
258 std::string request_headers_; 254 std::string request_headers_;
259 255
260 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); 256 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest);
261 }; 257 };
262 258
263 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ 259 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/url_request_test.cc ('k') | content/renderer/media/webrtc_audio_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698