// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import "url_loader.mojom"
+import "mojo/services/public/interfaces/network/cookie_store.mojom"
+import "mojo/services/public/interfaces/network/url_loader.mojom"
+import "mojo/services/public/interfaces/network/web_socket.mojom"
module mojo {
interface NetworkService {
- CreateURLLoader(URLLoader& loader);
+ CreateURLLoader(URLLoader&? loader);
- // TODO(darin): Add other methods here (e.g., cookies).
+ GetCookieStore(CookieStore&? cookie_store);
+
+ CreateWebSocket(WebSocket& socket);
+
+ // TODO(darin): Add other methods here.
};
}