Index: components/history/core/browser/test_history_client.h |
diff --git a/components/history/core/browser/test_history_client.h b/components/history/core/browser/test_history_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..942547da97962f00e1b35a08c44886354b5224e3 |
--- /dev/null |
+++ b/components/history/core/browser/test_history_client.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_HISTORY_CORE_BROWSER_TEST_HISTORY_CLIENT_H_ |
+#define COMPONENTS_HISTORY_CORE_BROWSER_TEST_HISTORY_CLIENT_H_ |
+ |
+#include "components/history/core/browser/history_client.h" |
+ |
+namespace history { |
+ |
+class TestHistoryClient : public HistoryClient { |
+ public: |
+ TestHistoryClient(); |
+ |
+ // HistoryClient: |
+ virtual bool IsBookmarked(const GURL& url) OVERRIDE; |
+ virtual void GetBookmarks(std::vector<URLAndTitle>* bookmarks) OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(TestHistoryClient); |
+}; |
+ |
+} // namespace history |
+ |
+#endif // COMPONENTS_HISTORY_CORE_BROWSER_TEST_HISTORY_CLIENT_H_ |