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

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

Issue 12703036: [Sync] Add interface and backend impl for typed URL syncable service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix style and move logic into BroadcastNotifications Created 7 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
Index: chrome/browser/history/history_service.h
diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h
index b4f35e7c463d39fc584ff7b51b5f37959f5b29f8..7e57df09bec79a4ffb53b3fcc90fc10354b16e4c 100644
--- a/chrome/browser/history/history_service.h
+++ b/chrome/browser/history/history_service.h
@@ -24,6 +24,7 @@
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/browser/history/delete_directive_handler.h"
#include "chrome/browser/history/history_types.h"
+#include "chrome/browser/history/typed_url_syncable_service.h"
#include "chrome/browser/profiles/profile_keyed_service.h"
#include "chrome/browser/search_engines/template_url_id.h"
#include "chrome/common/cancelable_task_tracker.h"
@@ -158,6 +159,9 @@ class HistoryService : public CancelableRequestProvider,
// Reads the number of times this URL has been visited.
bool GetVisitCountForURL(const GURL& url, int* visit_count);
+ // Returns a pointer to the TypedUrlSyncableService owned by HistoryBackend
+ history::TypedUrlSyncableService* GetTypedUrlSyncableService() const;
Andrew T Wilson (Slow) 2013/04/10 08:43:22 nit: sentence punctuation, and also add comment ar
+
// Return the quick history index.
history::InMemoryURLIndex* InMemoryIndex() const {
return in_memory_url_index_.get();

Powered by Google App Engine
This is Rietveld 408576698