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

Unified Diff: chrome/browser/history/history_publisher.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run.cc ('k') | chrome/browser/history/history_publisher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_publisher.h
===================================================================
--- chrome/browser/history/history_publisher.h (revision 16052)
+++ chrome/browser/history/history_publisher.h (working copy)
@@ -8,14 +8,12 @@
#include <vector>
#include <string>
-#include "base/basictypes.h"
#include "base/time.h"
#include "chrome/browser/history/history_types.h"
#include "googleurl/src/gurl.h"
#if defined(OS_WIN)
-#include <atlbase.h>
-#include <atlcomcli.h>
+#include "base/scoped_comptr_win.h"
#include "history_indexer.h"
#endif
@@ -60,18 +58,18 @@
// Returns '0' if the time object is NULL.
static double TimeToUTCVariantTime(const base::Time& time);
- typedef std::vector<CComPtr<IChromeHistoryIndexer> > IndexerList;
+ typedef std::vector< ScopedComPtr<IChromeHistoryIndexer> > IndexerList;
// The list of indexers registered to receive history data from us.
IndexerList indexers_;
// The Registry key under HKCU where the indexers need to register their
// CLSID.
- static const wchar_t* kRegKeyRegisteredIndexersInfo;
+ static const wchar_t* const kRegKeyRegisteredIndexersInfo;
#endif
// The format of the thumbnail we pass to indexers.
- static const char* kThumbnailImageFormat;
+ static const char* const kThumbnailImageFormat;
DISALLOW_COPY_AND_ASSIGN(HistoryPublisher);
};
« no previous file with comments | « chrome/browser/first_run.cc ('k') | chrome/browser/history/history_publisher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698