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

Side by Side Diff: chrome_frame/bind_context_info.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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/bho.cc ('k') | chrome_frame/bind_context_info.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BIND_CONTEXT_INFO_H_ 5 #ifndef CHROME_FRAME_BIND_CONTEXT_INFO_H_
6 #define CHROME_FRAME_BIND_CONTEXT_INFO_H_ 6 #define CHROME_FRAME_BIND_CONTEXT_INFO_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 10
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
(...skipping 16 matching lines...) Expand all
28 ~BindContextInfo(); 28 ~BindContextInfo();
29 29
30 BEGIN_COM_MAP(BindContextInfo) 30 BEGIN_COM_MAP(BindContextInfo)
31 COM_INTERFACE_ENTRY(IBindContextInfoInternal) 31 COM_INTERFACE_ENTRY(IBindContextInfoInternal)
32 COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, ftm_) 32 COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, ftm_)
33 END_COM_MAP() 33 END_COM_MAP()
34 34
35 // Returns the BindContextInfo instance associated with the bind 35 // Returns the BindContextInfo instance associated with the bind
36 // context. Creates it if needed. 36 // context. Creates it if needed.
37 // The returned info object will be AddRef-ed on return, so use 37 // The returned info object will be AddRef-ed on return, so use
38 // ScopedComPtr<>::Receive() to receive this pointer. 38 // base::win::ScopedComPtr<>::Receive() to receive this pointer.
39 static HRESULT FromBindContext(IBindCtx* bind_context, 39 static HRESULT FromBindContext(IBindCtx* bind_context,
40 BindContextInfo** info); 40 BindContextInfo** info);
41 41
42 void set_chrome_request(bool chrome_request) { 42 void set_chrome_request(bool chrome_request) {
43 chrome_request_ = chrome_request; 43 chrome_request_ = chrome_request;
44 } 44 }
45 45
46 bool chrome_request() const { 46 bool chrome_request() const {
47 return chrome_request_; 47 return chrome_request_;
48 } 48 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 HRESULT Initialize(IBindCtx* bind_ctx); 100 HRESULT Initialize(IBindCtx* bind_ctx);
101 101
102 private: 102 private:
103 base::win::ScopedComPtr<IStream> cache_; 103 base::win::ScopedComPtr<IStream> cache_;
104 bool no_cache_; 104 bool no_cache_;
105 bool chrome_request_; 105 bool chrome_request_;
106 bool is_switching_; 106 bool is_switching_;
107 base::win::ScopedComPtr<IUnknown> ftm_; 107 base::win::ScopedComPtr<IUnknown> ftm_;
108 scoped_refptr<ProtData> prot_data_; 108 scoped_refptr<ProtData> prot_data_;
109 ScopedComPtr<IInternetProtocol> protocol_; 109 base::win::ScopedComPtr<IInternetProtocol> protocol_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(BindContextInfo); 111 DISALLOW_COPY_AND_ASSIGN(BindContextInfo);
112 }; 112 };
113 113
114 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_H_ 114 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_H_
OLDNEW
« no previous file with comments | « chrome_frame/bho.cc ('k') | chrome_frame/bind_context_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698