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

Unified Diff: components/password_manager/core/browser/password_manager_client.h

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests some more Created 6 years, 1 month 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
Index: components/password_manager/core/browser/password_manager_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index d2cf54a420d326627f5b02458751a410f7f95117..1953c1e2777206fc8e43be8b645aa64c2219097e 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -14,6 +14,7 @@ class PrefService;
namespace password_manager {
class PasswordFormManager;
+class PasswordManager;
class PasswordManagerDriver;
class PasswordStore;
@@ -88,9 +89,6 @@ class PasswordManagerClient {
// Returns the PasswordStore associated with this instance.
virtual PasswordStore* GetPasswordStore() = 0;
- // Returns the PasswordManagerDriver instance associated with this instance.
- virtual PasswordManagerDriver* GetDriver() = 0;
-
// Returns the probability that the experiment identified by |experiment_name|
// should be enabled. The default implementation returns 0.
virtual base::FieldTrial::Probability GetProbabilityForExperiment(
@@ -122,6 +120,16 @@ class PasswordManagerClient {
virtual PasswordStore::AuthorizationPromptPolicy GetAuthorizationPromptPolicy(
const autofill::PasswordForm& form);
+ // Returns whether any SSL certificate errors were encountered as a result of
+ // the last page load.
+ virtual bool DidLastPageLoadEncounterSSLErrors();
+
+ // If this browsing session should not be persisted.
+ virtual bool IsOffTheRecord();
+
+ // Returns the PasswordManager associated with this client.
+ virtual PasswordManager* GetPasswordManager();
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
};

Powered by Google App Engine
This is Rietveld 408576698