Fixes for re-enabling more MSVC level 4 warnings: mojo/ edition
[chromium-blink-merge.git] / athena / main / url_search_provider.h
blob6ee83014d201fb5246bfc1f29256522f72426a94
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"
10 namespace content {
11 class BrowserContext;
14 namespace athena {
16 // A sample search provider.
17 class UrlSearchProvider : public app_list::SearchProvider {
18 public:
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;
26 private:
27 content::BrowserContext* browser_context_;
29 DISALLOW_COPY_AND_ASSIGN(UrlSearchProvider);
32 } // namespace athena
34 #endif // ATHENA_MAIN_URL_SEARCH_PROVIDER_H_