Password manager internals page: Introduce logger in renderer
commitb62a4e06409967be310bd5edd09f3c966500c8aa
authorvabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 16:05:35 +0000 (10 16:05 +0000)
committervabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 16:05:35 +0000 (10 16:05 +0000)
treeac6a0a4b352de3852574e6a7fee2eda004f7e6d1
parent32e42bac5809f12113027990fd48ba34e69ea17f
Password manager internals page: Introduce logger in renderer

A follow-up to https://codereview.chromium.org/216183008/

Password manager internals page serves as a debugging output from the process of observing submitted password forms and offering the user to save the password. The user will be able to grab the debugging info and pass it onto the Chrome developers to help investigate issues.

This CL introduces:
1) RendererSavePasswordProgressLogger, a specialization of the SavePasswordProgressLogger for the renderer part of the password management code.

2) Additional support in the PasswordManagementClient to use the Logger in the renderer code.

More context in the design doc: https://docs.google.com/document/d/1ArDhTo0w-8tOPiTwqM1gG6ZGqODo8UTpXlJjjnCNK4s/edit?usp=sharing

A follow-up CL will introduce actual logging calls.

TBR=inferno@chromium.org
BUG=347927

Review URL: https://codereview.chromium.org/228263004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263002 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed:
chrome/browser/password_manager/chrome_password_manager_client.cc
chrome/browser/password_manager/chrome_password_manager_client.h
chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
components/autofill.gypi
components/autofill/content/common/autofill_messages.h
components/autofill/content/renderer/renderer_save_password_progress_logger.cc [new file with mode: 0644]
components/autofill/content/renderer/renderer_save_password_progress_logger.h [new file with mode: 0644]
components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc [new file with mode: 0644]
components/components_tests.gyp
components/password_manager/content/browser/content_password_manager_driver.cc
components/password_manager/core/browser/password_form_manager_unittest.cc
components/password_manager/core/browser/password_generation_manager_unittest.cc
components/password_manager/core/browser/password_manager.h
components/password_manager/core/browser/password_manager_client.cc
components/password_manager/core/browser/password_manager_client.h
components/password_manager/core/browser/stub_password_manager_client.cc
components/password_manager/core/browser/stub_password_manager_client.h