| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_ | |
| 6 #define ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_ | |
| 7 | |
| 8 #include "athena/home/public/search_controller_factory.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class BrowserContext; | |
| 12 } | |
| 13 | |
| 14 namespace athena { | |
| 15 | |
| 16 class ShellSearchControllerFactory : public SearchControllerFactory { | |
| 17 public: | |
| 18 explicit ShellSearchControllerFactory( | |
| 19 content::BrowserContext* browser_context); | |
| 20 ~ShellSearchControllerFactory() override; | |
| 21 | |
| 22 scoped_ptr<app_list::SearchController> Create( | |
| 23 app_list::SearchBoxModel* search_box, | |
| 24 app_list::AppListModel::SearchResults* results) override; | |
| 25 | |
| 26 private: | |
| 27 content::BrowserContext* browser_context_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(ShellSearchControllerFactory); | |
| 30 }; | |
| 31 | |
| 32 } // namespace athena | |
| 33 | |
| 34 #endif // ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_ | |
| OLD | NEW |