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

Unified Diff: components/omnibox/search_provider.h

Issue 489353004: Componentize SearchProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/base_search_provider.cc ('k') | components/omnibox/search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/search_provider.h
diff --git a/chrome/browser/autocomplete/search_provider.h b/components/omnibox/search_provider.h
similarity index 98%
rename from chrome/browser/autocomplete/search_provider.h
rename to components/omnibox/search_provider.h
index 26ed2df885e4d3c4371f75e6700aa8c78a61dde2..6d52e78e0dd51c4afe2d275910173920b727fe5d 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/components/omnibox/search_provider.h
@@ -8,17 +8,17 @@
// history, and search suggestions. An instance of it gets created and
// managed by the autocomplete controller.
-#ifndef CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
-#define CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
+#ifndef COMPONENTS_OMNIBOX_SEARCH_PROVIDER_H_
+#define COMPONENTS_OMNIBOX_SEARCH_PROVIDER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
-#include "chrome/browser/autocomplete/answers_cache.h"
-#include "chrome/browser/autocomplete/base_search_provider.h"
#include "components/metrics/proto/omnibox_input_type.pb.h"
+#include "components/omnibox/answers_cache.h"
+#include "components/omnibox/base_search_provider.h"
#include "components/search_engines/template_url.h"
#include "net/url_request/url_fetcher_delegate.h"
@@ -364,4 +364,4 @@ class SearchProvider : public BaseSearchProvider,
DISALLOW_COPY_AND_ASSIGN(SearchProvider);
};
-#endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
+#endif // COMPONENTS_OMNIBOX_SEARCH_PROVIDER_H_
« no previous file with comments | « components/omnibox/base_search_provider.cc ('k') | components/omnibox/search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698