Index: components/history/core/browser/scored_history_match_unittest.cc |
diff --git a/chrome/browser/history/scored_history_match_unittest.cc b/components/history/core/browser/scored_history_match_unittest.cc |
similarity index 99% |
rename from chrome/browser/history/scored_history_match_unittest.cc |
rename to components/history/core/browser/scored_history_match_unittest.cc |
index 4989966eda6eb271a3c5cc935a26e39dae626d98..8570ad373076870527a95699f9f3308db004cf55 100644 |
--- a/chrome/browser/history/scored_history_match_unittest.cc |
+++ b/components/history/core/browser/scored_history_match_unittest.cc |
@@ -2,12 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "components/history/core/browser/scored_history_match.h" |
+ |
#include <algorithm> |
#include "base/auto_reset.h" |
#include "base/strings/string16.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "chrome/browser/history/scored_history_match.h" |
#include "components/history/core/test/history_client_fake_bookmarks.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -31,6 +32,12 @@ VisitInfoVector CreateVisitInfoVector(int num_visits, |
} |
class ScoredHistoryMatchTest : public testing::Test { |
+ public: |
+ static void SetUpTestCase() { |
+ testing::Test::SetUpTestCase(); |
+ history::ScoredHistoryMatch::Init(); |
+ } |
+ |
protected: |
// Convenience function to create a URLRow with basic data for |url|, |title|, |
// |visit_count|, and |typed_count|. |days_since_last_visit| gives the number |