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

Unified Diff: athena/main/url_search_provider.h

Issue 382683002: Add basic support of URL/search query to Athena home card. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git-cl format Created 6 years, 5 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 | « athena/main/athena_main.gyp ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/url_search_provider.h
diff --git a/athena/main/url_search_provider.h b/athena/main/url_search_provider.h
index 6ee83014d201fb5246bfc1f29256522f72426a94..d7c9177c57081fd88d77f2e2b433d45175baa60a 100644
--- a/athena/main/url_search_provider.h
+++ b/athena/main/url_search_provider.h
@@ -5,8 +5,11 @@
#ifndef ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
#define ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
+#include "base/memory/scoped_ptr.h"
#include "ui/app_list/search_provider.h"
+class TemplateURLService;
+
namespace content {
class BrowserContext;
}
@@ -26,6 +29,9 @@ class UrlSearchProvider : public app_list::SearchProvider {
private:
content::BrowserContext* browser_context_;
+ // TODO(mukai): This should be provided through BrowserContextKeyedService.
+ scoped_ptr<TemplateURLService> template_url_service_;
+
DISALLOW_COPY_AND_ASSIGN(UrlSearchProvider);
};
« no previous file with comments | « athena/main/athena_main.gyp ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698