| Index: chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| diff --git a/chrome/browser/extensions/api/omnibox/omnibox_api.h b/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| index 500da785a8784f5c1e5ee8ed8f7cc7b2a8ab8c9e..5bb0641eb12dcd5c3514ad9e386446018b0b9b58 100644
|
| --- a/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| +++ b/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| @@ -30,6 +30,7 @@ class ListValue;
|
| }
|
|
|
| namespace content {
|
| +class BrowserContext;
|
| class WebContents;
|
| }
|
|
|
| @@ -85,14 +86,14 @@ class OmniboxSendSuggestionsFunction : public ChromeSyncExtensionFunction {
|
| class OmniboxAPI : public ProfileKeyedAPI,
|
| public content::NotificationObserver {
|
| public:
|
| - explicit OmniboxAPI(Profile* profile);
|
| + explicit OmniboxAPI(content::BrowserContext* context);
|
| virtual ~OmniboxAPI();
|
|
|
| // ProfileKeyedAPI implementation.
|
| static ProfileKeyedAPIFactory<OmniboxAPI>* GetFactoryInstance();
|
|
|
| // Convenience method to get the OmniboxAPI for a profile.
|
| - static OmniboxAPI* Get(Profile* profile);
|
| + static OmniboxAPI* Get(content::BrowserContext* context);
|
|
|
| // content::NotificationObserver implementation.
|
| virtual void Observe(int type,
|
|
|