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

Issue 565943002: Credential Manager: Introduce a MockCredentialManagerClient. (Closed)

Created:
6 years, 3 months ago by Mike West
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Credential Manager: Introduce a MockCredentialManagerClient. Since we create the WebCredentialManagerClient in //chrome, we need a tiny mock to ensure that the Blink-side has something it can wire itself up to. This is that thing. BUG=400674 Committed: https://crrev.com/41667ab15bb40d84459acf3139f19178bed48778 Cr-Commit-Position: refs/heads/master@{#295022}

Patch Set 1 #

Total comments: 2

Patch Set 2 : TestRunner.mock. #

Patch Set 3 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -0 lines) Patch
M content/content_shell.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/mock_credential_manager_client.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/mock_credential_manager_client.cc View 1 1 chunk +50 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.cc View 1 6 chunks +28 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.h View 3 chunks +3 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.cc View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Mike West
Mind taking a look at this tiny mock, Jochen? -mike
6 years, 3 months ago (2014-09-12 13:56:10 UTC) #2
jochen (gone - plz use gerrit)
lgtm with nits https://codereview.chromium.org/565943002/diff/1/content/shell/renderer/test_runner/mock_credential_manager_client.h File content/shell/renderer/test_runner/mock_credential_manager_client.h (right): https://codereview.chromium.org/565943002/diff/1/content/shell/renderer/test_runner/mock_credential_manager_client.h#newcode25 content/shell/renderer/test_runner/mock_credential_manager_client.h:25: void SetResponse(blink::WebCredential*); nit. add parameters names ...
6 years, 3 months ago (2014-09-12 14:16:26 UTC) #3
Mike West
Thanks! However, I forgot to wire up the 'SetResponse' method to the TestRunner JavaScript interface. ...
6 years, 3 months ago (2014-09-12 14:26:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565943002/40001
6 years, 3 months ago (2014-09-16 06:28:03 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 2d48351ec543e361f51f14e4f1ecacc3a34345f8
6 years, 3 months ago (2014-09-16 06:53:40 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 06:55:11 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/41667ab15bb40d84459acf3139f19178bed48778
Cr-Commit-Position: refs/heads/master@{#295022}

Powered by Google App Engine
This is Rietveld 408576698