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

Unified Diff: chrome_frame/com_type_info_holder.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/com_message_event.cc ('k') | chrome_frame/com_type_info_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/com_type_info_holder.h
diff --git a/chrome_frame/com_type_info_holder.h b/chrome_frame/com_type_info_holder.h
index bf476a55665e4ae08d5196bb6e4515aa73c22964..a777d7ce4e52d6c4f4fdc77dc7bd2ffb71a9e450 100644
--- a/chrome_frame/com_type_info_holder.h
+++ b/chrome_frame/com_type_info_holder.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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.
@@ -8,8 +8,8 @@
#include <map>
#include <ocidl.h> // IProvideClassInfo2
-#include "base/scoped_comptr_win.h"
#include "base/synchronization/lock.h"
+#include "base/win/scoped_comptr.h"
#define NO_VTABLE __declspec(novtable)
@@ -60,7 +60,7 @@ class TypeInfoNameCache {
}
protected:
- ScopedComPtr<ITypeInfo> type_info_;
+ base::win::ScopedComPtr<ITypeInfo> type_info_;
NameToDispIdCache cache_;
};
@@ -140,8 +140,8 @@ template <class T, const IID& iid = __uuidof(T)>
class NO_VTABLE IDispatchImpl : public T {
public:
STDMETHOD(GetTypeInfoCount)(UINT* count) {
- if (count == NULL)
- return E_POINTER;
+ if (count == NULL)
+ return E_POINTER;
*count = 1;
return S_OK;
}
@@ -174,7 +174,7 @@ class NO_VTABLE IProvideClassInfo2Impl : public IProvideClassInfo2 {
}
STDMETHOD(GetGUID)(DWORD guid_kind, GUID* guid) {
- if(guid == NULL || guid_kind != GUIDKIND_DEFAULT_SOURCE_DISP_IID)
+ if (guid == NULL || guid_kind != GUIDKIND_DEFAULT_SOURCE_DISP_IID)
return E_INVALIDARG;
*guid = source_iid;
« no previous file with comments | « chrome_frame/com_message_event.cc ('k') | chrome_frame/com_type_info_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698