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

Side by Side Diff: chrome_frame/urlmon_upload_data_stream.h

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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/perf/chrome_frame_perftest.h ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_UPLOAD_DATA_STREAM_H_ 5 #ifndef CHROME_FRAME_URLMON_UPLOAD_DATA_STREAM_H_
6 #define CHROME_FRAME_URLMON_UPLOAD_DATA_STREAM_H_ 6 #define CHROME_FRAME_URLMON_UPLOAD_DATA_STREAM_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 11
12 #include "base/logging.h"
13 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
14 #include "chrome_frame/stream_impl.h" 13 #include "chrome_frame/stream_impl.h"
15 #include "net/base/upload_data.h" 14 #include "net/base/upload_data.h"
16 #include "net/base/upload_data_stream.h" 15 #include "net/base/upload_data_stream.h"
17 16
18 // Provides an IStream interface to the very different UploadDataStream 17 // Provides an IStream interface to the very different UploadDataStream
19 // implementation. 18 // implementation.
20 class UrlmonUploadDataStream : public CComObjectRootEx<CComMultiThreadModel>, 19 class UrlmonUploadDataStream : public CComObjectRootEx<CComMultiThreadModel>,
21 public StreamImpl { 20 public StreamImpl {
22 public: 21 public:
(...skipping 10 matching lines...) Expand all
33 STDMETHOD(Read)(void* pv, ULONG cb, ULONG* read); 32 STDMETHOD(Read)(void* pv, ULONG cb, ULONG* read);
34 STDMETHOD(Seek)(LARGE_INTEGER move, DWORD origin, ULARGE_INTEGER* new_pos); 33 STDMETHOD(Seek)(LARGE_INTEGER move, DWORD origin, ULARGE_INTEGER* new_pos);
35 STDMETHOD(Stat)(STATSTG *pstatstg, DWORD grfStatFlag); 34 STDMETHOD(Stat)(STATSTG *pstatstg, DWORD grfStatFlag);
36 35
37 private: 36 private:
38 scoped_refptr<net::UploadData> upload_data_; 37 scoped_refptr<net::UploadData> upload_data_;
39 scoped_ptr<net::UploadDataStream> request_body_stream_; 38 scoped_ptr<net::UploadDataStream> request_body_stream_;
40 }; 39 };
41 40
42 #endif // CHROME_FRAME_URLMON_UPLOAD_DATA_STREAM_H_ 41 #endif // CHROME_FRAME_URLMON_UPLOAD_DATA_STREAM_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/perf/chrome_frame_perftest.h ('k') | chrome_frame/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698