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

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

Issue 18758: Port some unit tests from chrome/browser/ (Closed)
Patch Set: port the tests Created 11 years, 11 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
diff --git a/chrome/browser/history/history_publisher.h b/chrome/browser/history/history_publisher.h
index 7c199acc5c268198337db1a6235313c954ac63c9..71005e57e0c786410fab1eefd7164c76de22c03f 100644
--- a/chrome/browser/history/history_publisher.h
+++ b/chrome/browser/history/history_publisher.h
@@ -48,27 +48,27 @@ class HistoryPublisher {
const char* thumbnail_format;
const std::vector<unsigned char>* thumbnail;
};
- void PublishDataToIndexers(const PageData& page_data) const;
- // Converts time represented by the Time class object to variant time in UTC.
- // Returns '0' if the time object is NULL.
- static double TimeToUTCVariantTime(const base::Time& time);
+ void PublishDataToIndexers(const PageData& page_data) const;
+#if defined(OS_WIN)
// Initializes the indexer_list_ with the list of indexers that registered
// with us to index history. Returns true if there are any registered.
bool ReadRegisteredIndexersFromRegistry();
- private:
-#if defined(OS_WIN)
+ // Converts time represented by the Time class object to variant time in UTC.
+ // Returns '0' if the time object is NULL.
+ static double TimeToUTCVariantTime(const base::Time& time);
+
typedef std::vector<CComPtr<IChromeHistoryIndexer> > IndexerList;
// The list of indexers registered to receive history data from us.
IndexerList indexers_;
-#endif
// The Registry key under HKCU where the indexers need to register their
// CLSID.
static const wchar_t* kRegKeyRegisteredIndexersInfo;
+#endif
// The format of the thumbnail we pass to indexers.
static const char* kThumbnailImageFormat;
« no previous file with comments | « chrome/browser/history/expire_history_backend_unittest.cc ('k') | chrome/browser/history/history_publisher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698