Chromium Code Reviews| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| index 4f542bbfd54d76c60b6ed6f2143b122ec08ddf8f..b9855abd6f90139c1b8b2f19f44f1507611d7675 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| @@ -157,6 +157,10 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| void set_selected_device(const content::MediaStreamDevice& device) { |
| bubble_content_.media_menus[device.type].selected_device = device; |
| } |
| + bool managed_setting() { return managed_setting_; } |
|
Bernhard Bauer
2014/01/07 18:08:00
Nit: Can you put the method body on a new line?
markusheintz_
2014/01/07 18:42:22
Done.
|
| + void set_managed_setting(bool managed) { |
| + managed_setting_ = managed; |
| + } |
| private: |
| content::WebContents* web_contents_; |
| @@ -165,6 +169,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| BubbleContent bubble_content_; |
| // A registrar for listening for WEB_CONTENTS_DESTROYED notifications. |
| content::NotificationRegistrar registrar_; |
| + bool managed_setting_; |
|
Bernhard Bauer
2014/01/07 18:08:00
It's not clear what this flag means from the name
markusheintz_
2014/01/07 18:42:22
Done.
|
| DISALLOW_COPY_AND_ASSIGN(ContentSettingBubbleModel); |
| }; |