Chromium Code Reviews| Index: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h |
| diff --git a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h |
| index e354afe73d7c5d56011dd426fe0fa6c51f9a4913..6648b95213d7ad9fa43d2b56e25af8fd383a2118 100644 |
| --- a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h |
| +++ b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h |
| @@ -13,6 +13,7 @@ |
| #include "components/security_state/security_state_model.h" |
| #include "content/public/browser/web_contents_observer.h" |
| +class Profile; |
| class WebsiteSettingsUIBridge; |
| namespace content { |
| @@ -32,6 +33,8 @@ class X509Certificate; |
| @private |
| content::WebContents* webContents_; |
| + Profile* profile_; |
|
tapted
2016/10/11 00:24:50
It's usually nice to avoid unnecessary weak pointe
raymes
2016/10/11 02:04:37
Done.
|
| + |
| base::scoped_nsobject<NSView> contentView_; |
| // The main content view for the Permissions tab. |
| @@ -103,6 +106,7 @@ class X509Certificate; |
| - (id)initWithParentWindow:(NSWindow*)parentWindow |
| websiteSettingsUIBridge:(WebsiteSettingsUIBridge*)bridge |
| webContents:(content::WebContents*)webContents |
| + profile:(Profile*)profile |
| url:(const GURL&)url |
| isDevToolsDisabled:(BOOL)isDevToolsDisabled; |