summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h b/chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h
index 12c6f6c2f54..e6e1cea1523 100644
--- a/chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h
+++ b/chromium/third_party/blink/renderer/platform/testing/url_test_helpers.h
@@ -31,6 +31,7 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_URL_TEST_HELPERS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_URL_TEST_HELPERS_H_
+#include "services/network/public/mojom/ip_address_space.mojom-shared.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_url.h"
#include "third_party/blink/public/platform/web_url_loader_mock_factory.h"
@@ -74,7 +75,9 @@ void RegisterMockedURLLoad(
const WebString& file_path,
const WebString& mime_type = WebString::FromUTF8("text/html"),
WebURLLoaderMockFactory* mock_factory =
- WebURLLoaderMockFactory::GetSingletonInstance());
+ WebURLLoaderMockFactory::GetSingletonInstance(),
+ network::mojom::IPAddressSpace address_space =
+ network::mojom::IPAddressSpace::kPublic);
// Unregisters a URL that has been registered, so that the same URL can be
// registered again from the another test.