1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
6 #define ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
8 #include "ui/app_list/search_provider.h"
16 // A sample search provider.
17 class UrlSearchProvider
: public app_list::SearchProvider
{
19 UrlSearchProvider(content::BrowserContext
* browser_context
);
20 virtual ~UrlSearchProvider();
22 // Overridden from app_list::SearchProvider
23 virtual void Start(const base::string16
& query
) OVERRIDE
;
24 virtual void Stop() OVERRIDE
;
27 content::BrowserContext
* browser_context_
;
29 DISALLOW_COPY_AND_ASSIGN(UrlSearchProvider
);
34 #endif // ATHENA_MAIN_URL_SEARCH_PROVIDER_H_