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

Unified Diff: chrome/browser/history/history_publisher.h

Issue 11050009: Use ScopedCOMInitializer in more places. While this doesn't always simplify code, it does mean we … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
Index: chrome/browser/history/history_publisher.h
===================================================================
--- chrome/browser/history/history_publisher.h (revision 159813)
+++ chrome/browser/history/history_publisher.h (working copy)
@@ -11,6 +11,7 @@
#include "base/string16.h"
#if defined(OS_WIN)
+#include "base/win/scoped_com_initializer.h"
#include "base/win/scoped_comptr.h"
#include "history_indexer.h"
#endif
@@ -71,6 +72,8 @@
// The Registry key under HKCU where the indexers need to register their
// CLSID.
static const wchar_t* const kRegKeyRegisteredIndexersInfo;
+
+ base::win::ScopedCOMInitializer com_initializer_;
#endif
// The format of the thumbnail we pass to indexers.

Powered by Google App Engine
This is Rietveld 408576698