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

Side by Side Diff: mojo/services/public/interfaces/content_handler/content_handler.mojom

Issue 513573002: Mojo: Fix two bugs in content handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 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/public/interfaces/application/service_provider.mojom" 5 import "mojo/public/interfaces/application/service_provider.mojom"
6 import "mojo/services/public/interfaces/network/url_loader.mojom" 6 import "mojo/services/public/interfaces/network/url_loader.mojom"
7 7
8 module mojo { 8 module mojo {
9 9
10 struct ContentHandlerResponse {
darin (slow to review) 2014/08/27 03:22:04 hmm..... this reminds me of the DocumentLoader obj
Aaron Boodman 2014/08/27 05:43:51 Doesn't really do anything for me, but if you want
11 URLLoader loader;
12 URLResponse response;
13 };
14
10 interface ContentHandler { 15 interface ContentHandler {
11 OnConnect(string? url, 16 OnConnect(string url,
12 URLResponse? url_response, 17 ContentHandlerResponse url_response,
13 ServiceProvider? service_provider); 18 ServiceProvider&? service_provider);
14 }; 19 };
15 20
16 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698