Chromium Code Reviews| Index: chrome/browser/extensions/api/messaging/incognito_connectability.h |
| diff --git a/chrome/browser/extensions/api/messaging/incognito_connectability.h b/chrome/browser/extensions/api/messaging/incognito_connectability.h |
| index 6b680ab1152a6ca829008dbb9043f64e9157a38d..41dec9c36d3e26c493c754a8ce26c32e3a3d4d22 100644 |
| --- a/chrome/browser/extensions/api/messaging/incognito_connectability.h |
| +++ b/chrome/browser/extensions/api/messaging/incognito_connectability.h |
| @@ -10,8 +10,8 @@ |
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
| #include "url/gurl.h" |
| -class Profile; |
| namespace content { |
| +class BrowserContext; |
| class WebContents; |
| } |
| @@ -52,7 +52,7 @@ class IncognitoConnectability : public ProfileKeyedAPI { |
| // Returns the IncognitoConnectability object for |profile|. |profile| must |
|
James Cook
2014/02/21 00:14:44
nit: |profile| -> |context|.
Yoyo Zhou
2014/02/21 17:17:07
Done.
|
| // be off-the-record. |
| - static IncognitoConnectability* Get(Profile* profile); |
| + static IncognitoConnectability* Get(content::BrowserContext* context); |
| // Returns true if |url| is allowed to connect from this profile, false |
| // otherwise. If unknown, this call will block and prompt the user. |
| @@ -63,7 +63,7 @@ class IncognitoConnectability : public ProfileKeyedAPI { |
| private: |
| friend class ProfileKeyedAPIFactory<IncognitoConnectability>; |
| - explicit IncognitoConnectability(Profile* profile); |
| + explicit IncognitoConnectability(content::BrowserContext* context); |
| virtual ~IncognitoConnectability(); |
| typedef std::map<std::string, std::set<GURL> > ExtensionToOriginsMap; |