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

Side by Side Diff: chrome_frame/stream_impl.h

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Address comments: -EXPRESS define, memset always implemented, coding style Created 9 years, 9 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) 2010 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_STREAM_IMPL_H_ 5 #ifndef CHROME_FRAME_STREAM_IMPL_H_
6 #define CHROME_FRAME_STREAM_IMPL_H_ 6 #define CHROME_FRAME_STREAM_IMPL_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 10
11 #include "base/scoped_comptr_win.h" 11 #include "base/scoped_comptr_win.h"
12 #include "base/win/atlcheck.h"
12 13
13 // A generic base class for IStream implementation. If provided 14 // A generic base class for IStream implementation. If provided
14 // with a delegate, it delegated calls to it otherwise can be 15 // with a delegate, it delegated calls to it otherwise can be
15 // used a as a base class for an IStream implementation. 16 // used a as a base class for an IStream implementation.
16 class StreamImpl : public IStream { 17 class StreamImpl : public IStream {
17 public: 18 public:
18 StreamImpl() {} 19 StreamImpl() {}
19 20
20 void Initialize(IStream* delegate); 21 void Initialize(IStream* delegate);
21 22
(...skipping 13 matching lines...) Expand all
35 STDMETHOD(Clone)(IStream** stream); 36 STDMETHOD(Clone)(IStream** stream);
36 37
37 protected: 38 protected:
38 ScopedComPtr<IStream> delegate_; 39 ScopedComPtr<IStream> delegate_;
39 40
40 private: 41 private:
41 DISALLOW_COPY_AND_ASSIGN(StreamImpl); 42 DISALLOW_COPY_AND_ASSIGN(StreamImpl);
42 }; 43 };
43 44
44 #endif // CHROME_FRAME_STREAM_IMPL_H_ 45 #endif // CHROME_FRAME_STREAM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698