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..e4ff3326c913ae2b73293008c9b34cf1a559cb0b 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -20,6 +20,8 @@ class AutofillManager; |
namespace password_manager { |
struct CredentialInfo; |
+class LogManager; |
+class LogRouter; |
vasilii
2015/11/16 14:12:25
unused
vabr (Chromium)
2015/11/16 16:08:48
Done.
|
class PasswordFormManager; |
class PasswordManager; |
class PasswordManagerDriver; |
@@ -126,19 +128,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 +162,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); |
}; |