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

Unified Diff: components/omnibox/history_url_provider.cc

Issue 1181113005: Componentize HistoryURLProvider/ScoredHistoryMatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prepare_history_url_provider_for_c14n
Patch Set: Rebase Created 5 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
« no previous file with comments | « components/omnibox/history_url_provider.h ('k') | components/omnibox/scored_history_match.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/history_url_provider.cc
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/components/omnibox/history_url_provider.cc
similarity index 99%
rename from chrome/browser/autocomplete/history_url_provider.cc
rename to components/omnibox/history_url_provider.cc
index 4765b489af629216895975613cc2b6d6783024d0..d569e729084c18dde736891c900bb0dc5e3791fa 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/components/omnibox/history_url_provider.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/autocomplete/history_url_provider.h"
+#include "components/omnibox/history_url_provider.h"
#include <algorithm>
@@ -17,7 +17,6 @@
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
-#include "chrome/browser/autocomplete/scored_history_match.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/history/core/browser/history_backend.h"
#include "components/history/core/browser/history_database.h"
@@ -29,6 +28,7 @@
#include "components/omnibox/autocomplete_result.h"
#include "components/omnibox/in_memory_url_index_types.h"
#include "components/omnibox/omnibox_field_trial.h"
+#include "components/omnibox/scored_history_match.h"
#include "components/omnibox/url_prefix.h"
#include "components/search_engines/search_terms_data.h"
#include "components/search_engines/template_url_service.h"
« no previous file with comments | « components/omnibox/history_url_provider.h ('k') | components/omnibox/scored_history_match.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698