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

Side by Side Diff: chrome_frame/urlmon_url_request.h

Issue 386014: The ChromeFrameAutomationClient class needs to be refcounted as it implements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/chrome_frame_unittests.cc ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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>
11 #include <atlwin.h> 11 #include <atlwin.h>
12 12
13 #include <algorithm> 13 #include <algorithm>
14 14
15 #include "base/lock.h" 15 #include "base/lock.h"
16 #include "base/platform_thread.h" 16 #include "base/platform_thread.h"
17 #include "base/thread.h" 17 #include "base/thread.h"
18 #include "base/scoped_comptr_win.h" 18 #include "base/scoped_comptr_win.h"
19 #include "chrome_frame/plugin_url_request.h" 19 #include "chrome_frame/plugin_url_request.h"
20 #include "chrome_frame/chrome_frame_delegate.h" 20 #include "chrome_frame/chrome_frame_delegate.h"
21 21
22 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
23 #include "net/base/upload_data.h" 23 #include "net/base/upload_data.h"
24 24
25 class UrlmonUrlRequest 25 class UrlmonUrlRequest
26 : public CComObjectRootEx<CComSingleThreadModel>, 26 : public CComObjectRootEx<CComMultiThreadModel>,
27 public PluginUrlRequest, 27 public PluginUrlRequest,
28 public IServiceProviderImpl<UrlmonUrlRequest>, 28 public IServiceProviderImpl<UrlmonUrlRequest>,
29 public IBindStatusCallback, 29 public IBindStatusCallback,
30 public IHttpNegotiate, 30 public IHttpNegotiate,
31 public IAuthenticate, 31 public IAuthenticate,
32 public IHttpSecurity, 32 public IHttpSecurity,
33 public CWindowImpl<UrlmonUrlRequest>, 33 public CWindowImpl<UrlmonUrlRequest>,
34 public TaskMarshallerThroughWindowsMessages<UrlmonUrlRequest> { 34 public TaskMarshallerThroughWindowsMessages<UrlmonUrlRequest> {
35 public: 35 public:
36 typedef TaskMarshallerThroughWindowsMessages<UrlmonUrlRequest> 36 typedef TaskMarshallerThroughWindowsMessages<UrlmonUrlRequest>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 URLRequestStatus status_; 253 URLRequestStatus status_;
254 254
255 PlatformThreadId thread_; 255 PlatformThreadId thread_;
256 static int instance_count_; 256 static int instance_count_;
257 HWND parent_window_; 257 HWND parent_window_;
258 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); 258 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest);
259 }; 259 };
260 260
261 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ 261 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_
262 262
OLDNEW
« no previous file with comments | « chrome_frame/test/chrome_frame_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698