| Index: chrome/browser/autocomplete/keyword_provider.h
|
| diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h
|
| index 6c2d348ae45664d4e37da5fa2408b64b65dd4267..ed4d32ca1efeaaa88dc3cb2857ebd513412bee52 100644
|
| --- a/chrome/browser/autocomplete/keyword_provider.h
|
| +++ b/chrome/browser/autocomplete/keyword_provider.h
|
| @@ -22,7 +22,6 @@
|
|
|
| class AutocompleteProviderListener;
|
| class KeywordExtensionsDelegate;
|
| -class Profile;
|
| class TemplateURL;
|
| class TemplateURLService;
|
|
|
| @@ -50,11 +49,12 @@ class TemplateURLService;
|
| // "<enter term(s)>" as the substituted input, and does nothing when selected.
|
| class KeywordProvider : public AutocompleteProvider {
|
| public:
|
| - KeywordProvider(AutocompleteProviderListener* listener, Profile* profile);
|
| - // For testing.
|
| KeywordProvider(AutocompleteProviderListener* listener,
|
| TemplateURLService* model);
|
|
|
| + void SetExtensionsDelegate(
|
| + scoped_ptr<KeywordExtensionsDelegate> extensions_delegate);
|
| +
|
| // Extracts the next whitespace-delimited token from input and returns it.
|
| // Sets |remaining_input| to everything after the first token (skipping over
|
| // the first intervening whitespace).
|
| @@ -141,10 +141,8 @@ class KeywordProvider : public AutocompleteProvider {
|
| TemplateURLService* GetTemplateURLService() const;
|
|
|
| AutocompleteProviderListener* listener_;
|
| - Profile* profile_;
|
|
|
| - // Model for the keywords. This is only non-null when testing, otherwise the
|
| - // TemplateURLService from the Profile is used.
|
| + // Model for the keywords.
|
| TemplateURLService* model_;
|
|
|
| // Delegate to handle the extensions-only logic for KeywordProvider.
|
|
|