| OLD | NEW |
| 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/url_loader.mojom" | 6 import "mojo/services/public/interfaces/network/url_loader.mojom" |
| 7 import "mojo/services/public/interfaces/network/web_socket.mojom" |
| 7 | 8 |
| 8 module mojo { | 9 module mojo { |
| 9 | 10 |
| 10 interface NetworkService { | 11 interface NetworkService { |
| 11 CreateURLLoader(URLLoader&? loader); | 12 CreateURLLoader(URLLoader&? loader); |
| 12 | 13 |
| 13 GetCookieStore(CookieStore&? cookie_store); | 14 GetCookieStore(CookieStore&? cookie_store); |
| 14 | 15 |
| 16 CreateWebSocket(WebSocket& socket); |
| 17 |
| 15 // TODO(darin): Add other methods here. | 18 // TODO(darin): Add other methods here. |
| 16 }; | 19 }; |
| 17 | 20 |
| 18 } | 21 } |
| OLD | NEW |