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

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

Issue 228263004: Password manager internals page: Introduce logger in renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 6 years, 8 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 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 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);

Powered by Google App Engine
This is Rietveld 408576698