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

Unified Diff: components/omnibox/browser/autocomplete_controller.h

Issue 2790993003: Add Generic Implementation of ClipboardRecentContent (Closed)
Patch Set: suppress suggestion regardless of history_service existing Created 3 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: components/omnibox/browser/autocomplete_controller.h
diff --git a/components/omnibox/browser/autocomplete_controller.h b/components/omnibox/browser/autocomplete_controller.h
index 4859fba6febdf45b3264663b4538af1a618bc431..478e72e4bd39c9f7332a0c646364b4208cb4a058 100644
--- a/components/omnibox/browser/autocomplete_controller.h
+++ b/components/omnibox/browser/autocomplete_controller.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CONTROLLER_H_
#define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CONTROLLER_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
@@ -19,6 +21,7 @@
#include "components/omnibox/browser/autocomplete_result.h"
class AutocompleteControllerDelegate;
+class ClipboardRecentContent;
class HistoryURLProvider;
class KeywordProvider;
class SearchProvider;
@@ -206,6 +209,9 @@ class AutocompleteController : public AutocompleteProviderListener {
ZeroSuggestProvider* zero_suggest_provider_;
+ // Used to build the ClipboardURLProvider.
+ std::unique_ptr<ClipboardRecentContent> clipboard_recent_content_;
+
// Input passed to Start.
AutocompleteInput input_;

Powered by Google App Engine
This is Rietveld 408576698