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

Unified Diff: chrome_frame/stream_impl.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/smoke_test.bat ('k') | chrome_frame/stream_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/stream_impl.h
diff --git a/chrome_frame/stream_impl.h b/chrome_frame/stream_impl.h
deleted file mode 100644
index 454bbb1b1fa66ddf74daa5fe04d668c94281c247..0000000000000000000000000000000000000000
--- a/chrome_frame/stream_impl.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_FRAME_STREAM_IMPL_H_
-#define CHROME_FRAME_STREAM_IMPL_H_
-
-#include <atlbase.h>
-#include <atlcom.h>
-
-#include "base/win/scoped_comptr.h"
-
-// A generic base class for IStream implementation. If provided
-// with a delegate, it delegated calls to it otherwise can be
-// used a as a base class for an IStream implementation.
-class StreamImpl : public IStream {
- public:
- StreamImpl() {}
-
- void Initialize(IStream* delegate);
-
- STDMETHOD(Write)(const void * buffer, ULONG size, ULONG* size_written);
- STDMETHOD(Read)(void* pv, ULONG cb, ULONG* read);
- STDMETHOD(Seek)(LARGE_INTEGER move, DWORD origin, ULARGE_INTEGER* new_pos);
- STDMETHOD(SetSize)(ULARGE_INTEGER new_size);
- STDMETHOD(CopyTo)(IStream* stream, ULARGE_INTEGER cb, ULARGE_INTEGER* read,
- ULARGE_INTEGER* written);
- STDMETHOD(Commit)(DWORD flags);
- STDMETHOD(Revert)();
- STDMETHOD(LockRegion)(ULARGE_INTEGER offset, ULARGE_INTEGER cb,
- DWORD type);
- STDMETHOD(UnlockRegion)(ULARGE_INTEGER offset, ULARGE_INTEGER cb,
- DWORD type);
- STDMETHOD(Stat)(STATSTG* statstg, DWORD flag);
- STDMETHOD(Clone)(IStream** stream);
-
- protected:
- base::win::ScopedComPtr<IStream> delegate_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(StreamImpl);
-};
-
-#endif // CHROME_FRAME_STREAM_IMPL_H_
« no previous file with comments | « chrome_frame/smoke_test.bat ('k') | chrome_frame/stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698