Index: components/history/core/test/test_scored_history_match_client.h |
diff --git a/components/history/core/test/test_scored_history_match_client.h b/components/history/core/test/test_scored_history_match_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1411c92624bd67f6cab9d3fa798380e4e8c78216 |
--- /dev/null |
+++ b/components/history/core/test/test_scored_history_match_client.h |
@@ -0,0 +1,37 @@ |
+// Copyright 2015 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_TEST_TEST_SCORED_HISTORY_MATCH_CLIENT_H_ |
+#define COMPONENTS_HISTORY_CORE_TEST_TEST_SCORED_HISTORY_MATCH_CLIENT_H_ |
+ |
+#include "components/history/core/browser/scored_history_match_client.h" |
+ |
+namespace history { |
+ |
+class TestScoredHistoryMatchClient : public ScoredHistoryMatchClient { |
+ public: |
+ TestScoredHistoryMatchClient(); |
+ ~TestScoredHistoryMatchClient() override; |
+ |
+ private: |
+ // ScoredHistoryMatchClient implementation. |
+ bool IsBoomarked(const GURL& url) const override; |
+ int BookmarkValue() const override; |
+ bool AllowTldMatches() const override; |
+ bool AllowSchemeMatches() const override; |
+ bool CanInlineAutocompleteMatch(const GURL& url, |
+ const base::string16& term, |
+ bool* innermost_match) const override; |
+ base::string16 CleanUpUrlAndTitleForMatching( |
+ const GURL& url, |
+ const std::string& languages, |
+ base::OffsetAdjuster::Adjustments* adjustments, |
+ base::string16* title) const override; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(TestScoredHistoryMatchClient); |
+}; |
+ |
+} // namespace history |
+ |
+#endif // COMPONENTS_HISTORY_CORE_TEST_TEST_SCORED_HISTORY_MATCH_CLIENT_H_ |