| Index: chrome/browser/content_settings/tab_specific_content_settings.h
|
| diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h
|
| index b4873b718a893e744818031e73c85cd4909da9bc..28943430d873e5126cd22ab7b8c597e752231822 100644
|
| --- a/chrome/browser/content_settings/tab_specific_content_settings.h
|
| +++ b/chrome/browser/content_settings/tab_specific_content_settings.h
|
| @@ -222,8 +222,6 @@ class TabSpecificContentSettings
|
| return midi_usages_state_;
|
| }
|
|
|
| - void OnPasswordSubmitted(PasswordFormManager* form_to_save);
|
| -
|
| // Call to indicate that there is a protocol handler pending user approval.
|
| void set_pending_protocol_handler(const ProtocolHandler& handler) {
|
| pending_protocol_handler_ = handler;
|
| @@ -297,6 +295,14 @@ class TabSpecificContentSettings
|
| virtual void AppCacheAccessed(const GURL& manifest_url,
|
| bool blocked_by_policy) OVERRIDE;
|
|
|
| + // If user clicks on 'save password' this will have the password saved upon
|
| + // the next navigation.
|
| + bool PasswordAccepted();
|
| +
|
| + // If user clicks on 'never save password for this site' this have the
|
| + // password blacklisted upon the next navigation.
|
| + bool PasswordFormBlacklisted();
|
| +
|
| // Message handlers. Public for testing.
|
| void OnContentBlocked(ContentSettingsType type,
|
| const std::string& resource_identifier);
|
| @@ -336,6 +342,11 @@ class TabSpecificContentSettings
|
| const MediaStreamDevicesController::MediaStreamTypePermissionMap&
|
| request_permissions);
|
|
|
| + // This method is called to pass the |form_to_save| on a successful password
|
| + // submission. It also updates the status of the save password content
|
| + // setting.
|
| + void OnPasswordSubmitted(PasswordFormManager* form_to_save);
|
| +
|
| // There methods are called to update the status about MIDI access.
|
| void OnMIDISysExAccessed(const GURL& reqesting_origin);
|
| void OnMIDISysExAccessBlocked(const GURL& requesting_origin);
|
| @@ -417,6 +428,10 @@ class TabSpecificContentSettings
|
| // stored here. http://crbug.com/259794
|
| GURL media_stream_access_origin_;
|
|
|
| + // The PasswordFormManager managing the form we're asking the user about,
|
| + // and should update as per the decision.
|
| + scoped_ptr<PasswordFormManager> form_to_save_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings);
|
| };
|
|
|
|
|