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

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 42773002: Get ClientCertStore through ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update unittest, clang fix Created 7 years, 2 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/test/webrtc_audio_device_test.cc
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc
index 605713acda3dd17ae398f597820fb7926b05ed31..fc9e1415080688d2337edda76d9b0c6277cc5588 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -31,6 +31,7 @@
#include "content/renderer/renderer_webkitplatformsupport_impl.h"
#include "media/audio/audio_parameters.h"
#include "media/base/audio_hardware_config.h"
+#include "net/ssl/client_cert_store.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -173,6 +174,10 @@ class MockRTCResourceContext : public ResourceContext {
return false;
}
+ virtual scoped_ptr<net::ClientCertStore> GetClientCertStore() OVERRIDE {
+ return scoped_ptr<net::ClientCertStore>();
+ }
+
private:
net::URLRequestContext* test_request_context_;

Powered by Google App Engine
This is Rietveld 408576698