Chromium Code Reviews| Index: chrome/browser/autocomplete/extension_app_provider.h |
| =================================================================== |
| --- chrome/browser/autocomplete/extension_app_provider.h (revision 107110) |
| +++ chrome/browser/autocomplete/extension_app_provider.h (working copy) |
| @@ -20,6 +20,7 @@ |
| #include <vector> |
| #include "base/compiler_specific.h" |
| +#include "base/gtest_prod_util.h" |
| #include "chrome/browser/autocomplete/autocomplete.h" |
| #include "chrome/browser/autocomplete/autocomplete_match.h" |
| #include "content/public/browser/notification_observer.h" |
| @@ -45,6 +46,13 @@ |
| virtual ~ExtensionAppProvider(); |
| + // Construct a match for the specified parameters. |
| + AutocompleteMatch CreateAutocompleteMatch(const AutocompleteInput& input, |
|
Peter Kasting
2011/10/25 20:37:07
Nit: I'm not sure the benefit of this method is ve
Alexei Svitkine (slow)
2011/10/25 21:37:16
While I understand your point view, I disagree. I
|
| + const string16& name, |
| + const string16& url, |
| + size_t name_match_index, |
| + size_t url_match_index); |
| + |
| // Fetch the current app list and cache it locally. |
| void RefreshAppList(); |
| @@ -68,6 +76,8 @@ |
| // apps we know about. |
| ExtensionApps extension_apps_; |
| + FRIEND_TEST_ALL_PREFIXES(ExtensionAppProviderTest, CreateMatchSanitize); |
| + |
| DISALLOW_COPY_AND_ASSIGN(ExtensionAppProvider); |
| }; |