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 b2af53f864b69d823ff3cffe002356fcbbdaa294..9b0cda6ac31065e3352677b19e1e36b0a72e134d 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -20,6 +20,7 @@ class AutofillManager; |
namespace password_manager { |
struct CredentialInfo; |
+class LogManager; |
class PasswordFormManager; |
class PasswordManager; |
class PasswordManagerDriver; |
@@ -126,19 +127,6 @@ class PasswordManagerClient { |
// TODO(vabr): Factor this out of the client to the sync layer. |
virtual PasswordSyncState GetPasswordSyncState() const; |
- // Only for clients which registered with a LogRouter: If called with |
- // |router_can_be_used| set to false, the client may no longer use the |
- // LogRouter. If |router_can_be_used| is true, the LogRouter can be used after |
- // the return from OnLogRouterAvailabilityChanged. |
- virtual void OnLogRouterAvailabilityChanged(bool router_can_be_used); |
- |
- // Forward |text| for display to the LogRouter (if registered with one). |
- virtual void LogSavePasswordProgress(const std::string& text) const; |
- |
- // Returns true if logs recorded via LogSavePasswordProgress will be |
- // displayed, and false otherwise. |
- virtual bool IsLoggingActive() const; |
- |
// Returns true if last navigation page had HTTP error i.e 5XX or 4XX |
virtual bool WasLastNavigationHTTPError() const; |
@@ -173,6 +161,9 @@ class PasswordManagerClient { |
// Use this to filter credentials before handling them in password manager. |
virtual const CredentialsFilter* GetStoreResultFilter() const = 0; |
+ // Returns a LogManager instance. |
+ virtual const LogManager* GetLogManager() const; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); |
}; |