Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 54aff8303e121656b0d1a0c92c9fd177c04e5776..28cad71a85771d3decd9b427b2fd123f699509ee 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -738,6 +738,21 @@ void TestingProfile::CancelMIDISysExPermissionRequest( |
const GURL& requesting_frame) { |
} |
+void TestingProfile::RequestProtectedMediaIdentifierPermission( |
+ int render_process_id, |
+ int render_view_id, |
+ int bridge_id, |
+ int group_id, |
+ const GURL& requesting_frame, |
+ const ProtectedMediaIdentifierPermissionCallback& callback) { |
+ // Always reject requests for testing. |
+ callback.Run(false); |
+} |
+ |
+void TestingProfile::CancelProtectedMediaIdentifierPermissionRequests( |
+ int group_id) { |
+} |
+ |
net::URLRequestContextGetter* TestingProfile::GetRequestContextForExtensions() { |
if (!extensions_request_context_.get()) |
extensions_request_context_ = new TestExtensionURLRequestContextGetter(); |