Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: trunk/src/chrome/browser/content_settings/tab_specific_content_settings.h

Issue 24024006: Revert 221424 "Save password functionality added to the save pas..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/src/chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/content_settings/tab_specific_content_settings.h
===================================================================
--- trunk/src/chrome/browser/content_settings/tab_specific_content_settings.h (revision 221694)
+++ trunk/src/chrome/browser/content_settings/tab_specific_content_settings.h (working copy)
@@ -222,6 +222,8 @@
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;
@@ -295,14 +297,6 @@
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);
@@ -342,11 +336,6 @@
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);
@@ -428,10 +417,6 @@
// 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);
};
« no previous file with comments | « no previous file | trunk/src/chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698