| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 | 13 |
| 14 namespace app_list { | 14 namespace app_list { |
| 15 | 15 |
| 16 class ChromeSearchResult; | 16 class ChromeSearchResult; |
| 17 | 17 |
| 18 class SearchProvider { | 18 class SearchProvider { |
| 19 public: | 19 public: |
| 20 typedef ScopedVector<ChromeSearchResult> Results; | 20 typedef ScopedVector<ChromeSearchResult> Results; |
| 21 typedef base::Closure ResultChangedCallback; | 21 typedef base::Closure ResultChangedCallback; |
| 22 | 22 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 | 45 |
| 46 ResultChangedCallback result_changed_callback_; | 46 ResultChangedCallback result_changed_callback_; |
| 47 Results results_; | 47 Results results_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(SearchProvider); | 49 DISALLOW_COPY_AND_ASSIGN(SearchProvider); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace app_list | 52 } // namespace app_list |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ | 54 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_PROVIDER_H_ |
| OLD | NEW |