Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 40e2c6f90a33cfab492708a9c9558a971af2b8a9..ae58e10b1d2330d4eb6058e6782b856735497041 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -740,6 +740,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(); |