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

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: Squash in little fixes 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..7a254918d76d5d233929760eb6f3cd8be999a83b 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -67,6 +67,10 @@ class PasswordManagerClient {
// Send |text| to the logger.
virtual void LogSavePasswordProgress(const std::string& text);
+ // Return value true means that logs sent to LogSavePasswordProgress will be
+ // displayed. Return value false means they will be dropped.
Ilya Sherman 2014/04/09 21:10:08 nit: "Returns true if logs recorded via LogSavePas
vabr (Chromium) 2014/04/10 08:51:25 Done.
+ virtual bool IsLoggingActive() const;
Ilya Sherman 2014/04/09 21:10:08 Should this be pure virtual? Ditto for the two me
vabr (Chromium) 2014/04/10 08:51:25 I'm not sure. My reason for providing default impl
Ilya Sherman 2014/04/10 09:23:07 Let's make them pure virtual for now. We can alwa
blundell 2014/04/11 14:39:16 PasswordClient is already not a pure interface FWI
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
};

Powered by Google App Engine
This is Rietveld 408576698