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 4990a18511ddd09561854ec6e8d60334ec3952b3..f015e9d3a1f69de9950effbb9e8b7b4d0f7bdd07 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -62,10 +62,14 @@ class PasswordManagerClient { |
virtual bool IsPasswordSyncEnabled(); |
// Attach or detach (setting NULL) a logger for this client. |
- virtual void SetLogger(PasswordManagerLogger* logger); |
+ virtual void SetLogger(PasswordManagerLogger* logger) = 0; |
// Send |text| to the logger. |
- virtual void LogSavePasswordProgress(const std::string& text); |
+ virtual void LogSavePasswordProgress(const std::string& text) = 0; |
+ |
+ // Returns true if logs recorded via LogSavePasswordProgress will be |
+ // displayed, and false otherwise. |
+ virtual bool IsLoggingActive() const = 0; |
private: |
DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); |