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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 259153004: Password bubble: Give users the option of unblacklisting a site. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/password_manager/content/browser/content_password_manager_d river.h" 10 #include "components/password_manager/content/browser/content_password_manager_d river.h"
(...skipping 24 matching lines...) Expand all
35 public content::WebContentsObserver, 35 public content::WebContentsObserver,
36 public content::WebContentsUserData<ChromePasswordManagerClient> { 36 public content::WebContentsUserData<ChromePasswordManagerClient> {
37 public: 37 public:
38 virtual ~ChromePasswordManagerClient(); 38 virtual ~ChromePasswordManagerClient();
39 39
40 // PasswordManagerClient implementation. 40 // PasswordManagerClient implementation.
41 virtual void PromptUserToSavePassword( 41 virtual void PromptUserToSavePassword(
42 password_manager::PasswordFormManager* form_to_save) OVERRIDE; 42 password_manager::PasswordFormManager* form_to_save) OVERRIDE;
43 virtual void PasswordWasAutofilled( 43 virtual void PasswordWasAutofilled(
44 const autofill::PasswordFormMap& best_matches) const OVERRIDE; 44 const autofill::PasswordFormMap& best_matches) const OVERRIDE;
45 virtual void PasswordAutofillWasBlocked() const OVERRIDE; 45 virtual void PasswordAutofillWasBlocked(
46 const autofill::PasswordFormMap& best_matches) const OVERRIDE;
46 virtual void AuthenticateAutofillAndFillForm( 47 virtual void AuthenticateAutofillAndFillForm(
47 scoped_ptr<autofill::PasswordFormFillData> fill_data) OVERRIDE; 48 scoped_ptr<autofill::PasswordFormFillData> fill_data) OVERRIDE;
48 virtual PrefService* GetPrefs() OVERRIDE; 49 virtual PrefService* GetPrefs() OVERRIDE;
49 virtual password_manager::PasswordStore* GetPasswordStore() OVERRIDE; 50 virtual password_manager::PasswordStore* GetPasswordStore() OVERRIDE;
50 virtual password_manager::PasswordManagerDriver* GetDriver() OVERRIDE; 51 virtual password_manager::PasswordManagerDriver* GetDriver() OVERRIDE;
51 virtual base::FieldTrial::Probability GetProbabilityForExperiment( 52 virtual base::FieldTrial::Probability GetProbabilityForExperiment(
52 const std::string& experiment_name) OVERRIDE; 53 const std::string& experiment_name) OVERRIDE;
53 virtual bool IsPasswordSyncEnabled() OVERRIDE; 54 virtual bool IsPasswordSyncEnabled() OVERRIDE;
54 virtual void SetLogger(password_manager::PasswordManagerLogger* logger) 55 virtual void SetLogger(password_manager::PasswordManagerLogger* logger)
55 OVERRIDE; 56 OVERRIDE;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 122
122 // Points to an active logger instance to use for, e.g., reporting progress on 123 // Points to an active logger instance to use for, e.g., reporting progress on
123 // saving passwords. If there is no active logger (most of the time), the 124 // saving passwords. If there is no active logger (most of the time), the
124 // pointer will be NULL. 125 // pointer will be NULL.
125 password_manager::PasswordManagerLogger* logger_; 126 password_manager::PasswordManagerLogger* logger_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 128 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
128 }; 129 };
129 130
130 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 131 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698