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

Side by Side Diff: mojo/services/public/interfaces/network/network_service.mojom

Issue 683583002: Update mojo sdk to rev e083961bf11fd0c94d40be8853761da529b6d444 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: geolocation Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import "mojo/services/public/interfaces/network/cookie_store.mojom" 5 import "mojo/services/public/interfaces/network/cookie_store.mojom";
6 import "mojo/services/public/interfaces/network/net_address.mojom" 6 import "mojo/services/public/interfaces/network/net_address.mojom";
7 import "mojo/services/public/interfaces/network/network_error.mojom" 7 import "mojo/services/public/interfaces/network/network_error.mojom";
8 import "mojo/services/public/interfaces/network/tcp_bound_socket.mojom" 8 import "mojo/services/public/interfaces/network/tcp_bound_socket.mojom";
9 import "mojo/services/public/interfaces/network/tcp_connected_socket.mojom" 9 import "mojo/services/public/interfaces/network/tcp_connected_socket.mojom";
10 import "mojo/services/public/interfaces/network/udp_socket.mojom" 10 import "mojo/services/public/interfaces/network/udp_socket.mojom";
11 import "mojo/services/public/interfaces/network/url_loader.mojom" 11 import "mojo/services/public/interfaces/network/url_loader.mojom";
12 import "mojo/services/public/interfaces/network/web_socket.mojom" 12 import "mojo/services/public/interfaces/network/web_socket.mojom";
13 13
14 module mojo { 14 module mojo {
15 15
16 // TODO Darin suggfests that this should probably be two classes. One for 16 // TODO Darin suggfests that this should probably be two classes. One for
17 // high-level origin-build requests like WebSockets and HTTP, and the other for 17 // high-level origin-build requests like WebSockets and HTTP, and the other for
18 // non-origin-bound low-level stuff like DNS, UDP, and TCP. 18 // non-origin-bound low-level stuff like DNS, UDP, and TCP.
19 interface NetworkService { 19 interface NetworkService {
20 CreateURLLoader(URLLoader&? loader); 20 CreateURLLoader(URLLoader&? loader);
21 21
22 GetCookieStore(CookieStore&? cookie_store); 22 GetCookieStore(CookieStore&? cookie_store);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 handle<data_pipe_consumer> send_stream, 54 handle<data_pipe_consumer> send_stream,
55 handle<data_pipe_producer> receive_stream, 55 handle<data_pipe_producer> receive_stream,
56 TCPConnectedSocket& client_socket) 56 TCPConnectedSocket& client_socket)
57 => (NetworkError result, 57 => (NetworkError result,
58 NetAddress? local_address); 58 NetAddress? local_address);
59 59
60 CreateUDPSocket(UDPSocket& socket); 60 CreateUDPSocket(UDPSocket& socket);
61 }; 61 };
62 62
63 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698