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

Unified Diff: chrome/browser/autocomplete/scored_history_match.h

Issue 963823003: Move InMemoryURLIndex into chrome/browser/autocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcut-database
Patch Set: Fixing win_chromium_x64_rel_ng build Created 5 years, 9 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: chrome/browser/autocomplete/scored_history_match.h
diff --git a/components/history/core/browser/scored_history_match.h b/chrome/browser/autocomplete/scored_history_match.h
similarity index 91%
rename from components/history/core/browser/scored_history_match.h
rename to chrome/browser/autocomplete/scored_history_match.h
index 2bdde10fea2272a1a9cd9acf8bd3579b94a150e4..82e078f2a2007769e49465f3298ded3dc4339cf9 100644
--- a/components/history/core/browser/scored_history_match.h
+++ b/chrome/browser/autocomplete/scored_history_match.h
@@ -2,17 +2,17 @@
// 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_SCORED_HISTORY_MATCH_H_
-#define COMPONENTS_HISTORY_CORE_BROWSER_SCORED_HISTORY_MATCH_H_
+#ifndef CHROME_BROWSER_AUTOCOMPLETE_SCORED_HISTORY_MATCH_H_
+#define CHROME_BROWSER_AUTOCOMPLETE_SCORED_HISTORY_MATCH_H_
#include <string>
#include <vector>
#include "base/strings/string16.h"
#include "base/time/time.h"
+#include "chrome/browser/autocomplete/in_memory_url_index_types.h"
#include "components/history/core/browser/history_match.h"
#include "components/history/core/browser/history_types.h"
-#include "components/history/core/browser/in_memory_url_index_types.h"
namespace history {
@@ -22,6 +22,9 @@ struct ScoredHistoryMatch : public HistoryMatch {
// The Builder inner class allows the embedder to control how matches are
// scored (we cannot use a base::Callback<> as base::Bind() is limited to 6
// parameters).
+ // TODO(sdefresne): remove this since ScoredHistoryMatch can now depends on
+ // chrome/browser/autocomplete and components/bookmarks
+ // http://crbug.com/462645
class Builder {
public:
Builder() {}
@@ -105,4 +108,4 @@ typedef std::vector<ScoredHistoryMatch> ScoredHistoryMatches;
} // namespace history
-#endif // COMPONENTS_HISTORY_CORE_BROWSER_SCORED_HISTORY_MATCH_H_
+#endif // CHROME_BROWSER_AUTOCOMPLETE_SCORED_HISTORY_MATCH_H_
« no previous file with comments | « chrome/browser/autocomplete/in_memory_url_index_unittest.cc ('k') | chrome/browser/autocomplete/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698