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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 565943002: Credential Manager: Introduce a MockCredentialManagerClient. (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: content/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index 60b68126a335ad8ec88798978ddb8e444dc414d3..51442ef71b2f75e07a4910a048683b2f2095b9eb 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -77,6 +77,7 @@ typedef unsigned WebColor;
namespace content {
+class MockCredentialManagerClient;
class MockScreenOrientationClient;
class MockWebPushClient;
class MockWebSpeechRecognizer;
@@ -132,6 +133,7 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
MockScreenOrientationClient* GetScreenOrientationClientMock();
blink::WebMIDIClientMock* GetMIDIClientMock();
MockWebSpeechRecognizer* GetSpeechRecognizerMock();
+ MockCredentialManagerClient* GetCredentialManagerClientMock();
WebTaskList* mutable_task_list() { return &task_list_; }
@@ -272,6 +274,7 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
bool log_console_output_;
int chooser_count_;
+ scoped_ptr<MockCredentialManagerClient> credential_manager_client_;
scoped_ptr<blink::WebMIDIClientMock> midi_client_;
scoped_ptr<MockWebSpeechRecognizer> speech_recognizer_;
scoped_ptr<MockWebPushClient> push_client_;

Powered by Google App Engine
This is Rietveld 408576698