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

Unified Diff: content/common/url_loader_factory.mojom

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 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/common/url_loader_factory.mojom
diff --git a/content/common/url_loader_factory.mojom b/content/common/url_loader_factory.mojom
deleted file mode 100644
index 416b73385ad36feadf5d8201a1e7369241fa44ab..0000000000000000000000000000000000000000
--- a/content/common/url_loader_factory.mojom
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module content.mojom;
-
-import "mutable_network_traffic_annotation_tag.mojom";
-import "url_loader.mojom";
-
-[Native]
-struct URLSyncLoadResult;
-
-const uint32 kURLLoadOptionNone = 0;
-// Sends the net::SSLInfo struct in OnReceiveResponse.
-const uint32 kURLLoadOptionSendSSLInfo = 1;
-
-interface URLLoaderFactory {
- // Creats a URLLoader and starts loading with the given |request|. |client|'s
- // method will be called when certain events related to that loading
- // (e.g., response arrival) happen. |request_id| is for compatibility with
- // the existing Chrome IPC.
- CreateLoaderAndStart(associated URLLoader& loader,
- int32 routing_id,
- int32 request_id,
- uint32 options,
- URLRequest request,
- URLLoaderClient client,
- MutableNetworkTrafficAnnotationTag traffic_annotation);
-
- // Loads the resource for the given |request| synchronously.
- // |request_id| is for compatibility with the existing Chrome IPC.
- [Sync] SyncLoad(int32 routing_id,
- int32 request_id,
- URLRequest request)
- => (URLSyncLoadResult result);
-};

Powered by Google App Engine
This is Rietveld 408576698