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 37938650373804e2c467d99420ac2b60ada07df4..0e260345532a47260c2aab73f06759f67ac0e44d 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -16,7 +16,6 @@ namespace password_manager { |
class PasswordFormManager; |
class PasswordManagerDriver; |
class PasswordStore; |
-class PasswordManagerLogger; |
// An abstraction of operations that depend on the embedders (e.g. Chrome) |
// environment. |
@@ -73,10 +72,13 @@ class PasswordManagerClient { |
// implementation returns false. |
virtual bool IsPasswordSyncEnabled(); |
- // Attach or detach (setting NULL) a logger for this client. |
- virtual void SetLogger(PasswordManagerLogger* logger); |
+ // Only for clients which registered with a LogRouter: If called with |
+ // |router_can_be_used| set to false, the client may no more use the |
Ilya Sherman
2014/05/13 04:32:18
nit: "no more" -> "no longer"
vabr (Chromium)
2014/05/13 09:27:11
Done.
|
+ // LogRouter. If |router_can_be_used| is true, the LogRouter can be used after |
+ // the return from NotifyCanUseLogRouter. |
+ virtual void NotifyCanUseLogRouter(bool router_can_be_used); |
- // Send |text| to the logger. |
+ // Forward |text| for display to the LogRouter (if registered with one). |
virtual void LogSavePasswordProgress(const std::string& text); |
// Returns true if logs recorded via LogSavePasswordProgress will be |