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

Side by Side Diff: app/os_exchange_data.h

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « no previous file | app/os_exchange_data_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 APP_OS_EXCHANGE_DATA_H_ 5 #ifndef APP_OS_EXCHANGE_DATA_H_
6 #define APP_OS_EXCHANGE_DATA_H_ 6 #define APP_OS_EXCHANGE_DATA_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <atlbase.h>
12 #include <objidl.h> 11 #include <objidl.h>
12 #include "base/scoped_comptr_win.h"
13 #endif 13 #endif
14 14
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/basictypes.h" 18 #include "base/basictypes.h"
19 19
20 class GURL; 20 class GURL;
21 class Pickle; 21 class Pickle;
22 22
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 if (owns_medium) { 147 if (owns_medium) {
148 ReleaseStgMedium(medium); 148 ReleaseStgMedium(medium);
149 delete medium; 149 delete medium;
150 } 150 }
151 } 151 }
152 }; 152 };
153 153
154 typedef std::vector<StoredDataInfo*> StoredData; 154 typedef std::vector<StoredDataInfo*> StoredData;
155 StoredData contents_; 155 StoredData contents_;
156 156
157 CComPtr<IDataObject> source_object_; 157 ScopedComPtr<IDataObject> source_object_;
158 158
159 LONG ref_count_; 159 LONG ref_count_;
160 #endif 160 #endif
161 161
162 DISALLOW_COPY_AND_ASSIGN(OSExchangeData); 162 DISALLOW_COPY_AND_ASSIGN(OSExchangeData);
163 }; 163 };
164 164
165 #endif // APP_OS_EXCHANGE_DATA_H_ 165 #endif // APP_OS_EXCHANGE_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | app/os_exchange_data_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698