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

Unified Diff: components/dom_distiller/core/dom_distiller_test_util.h

Issue 330833002: Extract protobuf database into a new 'leveldb_proto' component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 6 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/dom_distiller/core/dom_distiller_test_util.h
diff --git a/components/dom_distiller/core/dom_distiller_test_util.h b/components/dom_distiller/core/dom_distiller_test_util.h
index d0e05e44ffcfb0829626779d5d5012147232e9d9..dca8fcb4a5318d902c803e81c1948570d30e2664 100644
--- a/components/dom_distiller/core/dom_distiller_test_util.h
+++ b/components/dom_distiller/core/dom_distiller_test_util.h
@@ -8,7 +8,7 @@
#include <vector>
#include "components/dom_distiller/core/dom_distiller_observer.h"
-#include "components/dom_distiller/core/fake_db.h"
+#include "components/leveldb_proto/testing/fake_db.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace dom_distiller {
@@ -42,8 +42,9 @@ testing::Matcher<const std::vector<DomDistillerObserver::ArticleUpdate>&>
// Creates a simple DomDistillerStore backed by |fake_db| and initialized
// with |store_model|.
-DomDistillerStore* CreateStoreWithFakeDB(FakeDB* fake_db,
- const FakeDB::EntryMap& store_model);
+DomDistillerStore* CreateStoreWithFakeDB(
+ leveldb_proto::test::FakeDB<ArticleEntry>* fake_db,
+ const leveldb_proto::test::FakeDB<ArticleEntry>::EntryMap& store_model);
} // namespace util
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698