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

Unified Diff: components/password_manager/core/browser/password_manager_unittest.cc

Issue 604293002: Improve logging in password manager internals page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_unittest.cc
diff --git a/components/password_manager/core/browser/password_manager_unittest.cc b/components/password_manager/core/browser/password_manager_unittest.cc
index a2be320e1176e52632ec0709bd04ccb26e158e59..5406688308c32b21e126ccf8737e0664cd63bdd0 100644
--- a/components/password_manager/core/browser/password_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_manager_unittest.cc
@@ -54,9 +54,10 @@ class MockPasswordManagerClient : public StubPasswordManagerClient {
MOCK_METHOD0(GetDriver, PasswordManagerDriver*());
// Workaround for scoped_ptr<> lacking a copy constructor.
- virtual void PromptUserToSavePassword(
+ virtual bool PromptUserToSavePassword(
scoped_ptr<PasswordFormManager> manager) OVERRIDE {
PromptUserToSavePasswordPtr(manager.release());
+ return false;
}
virtual void AutomaticPasswordSave(
scoped_ptr<PasswordFormManager> manager) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698