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

Unified Diff: components/history/core/browser/history_backend.h

Issue 2901093009: [USS] Implement GetAllData and GetStorageKey. (Closed)
Patch Set: add DCHECK Created 3 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
Index: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 59c58389c1294a9e956c3e76b35e0a53240313c8..cae7870a63f0ed4dc51923139d3f644189b59479 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -32,6 +32,7 @@
#include "components/history/core/browser/history_types.h"
#include "components/history/core/browser/keyword_id.h"
#include "components/history/core/browser/thumbnail_database.h"
+#include "components/history/core/browser/typed_url_sync_bridge.h"
#include "components/history/core/browser/visit_tracker.h"
#include "sql/init_status.h"
@@ -53,7 +54,6 @@ struct HistoryDatabaseParams;
class HistoryDBTask;
class InMemoryHistoryBackend;
class TypedUrlSyncableService;
-class TypedURLSyncBridge;
class HistoryBackendHelper;
class URLDatabase;
@@ -476,6 +476,11 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
HistoryDatabase* db() const { return db_.get(); }
ExpireHistoryBackend* expire_backend() { return &expirer_; }
+
+ void SetTypedURLSyncBridgeForTest(
+ std::unique_ptr<TypedURLSyncBridge> bridge) {
+ typed_url_sync_bridge_ = std::move(bridge);
+ }
#endif
// Returns true if the passed visit time is already expired (used by the sync

Powered by Google App Engine
This is Rietveld 408576698