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

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

Issue 502853002: Mojom: Blanket change to mark all pointer/handle fields as nullable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/services/public/interfaces/navigation/navigation.mojom" 5 import "mojo/services/public/interfaces/navigation/navigation.mojom"
6 6
7 module mojo { 7 module mojo {
8 8
9 interface Launcher { 9 interface Launcher {
10 // Determines the correct handler application that can render a given URL. 10 // Determines the correct handler application that can render a given URL.
11 // 11 //
12 // Sometimes this is known statically from the URL (e.g., from its scheme, or 12 // Sometimes this is known statically from the URL (e.g., from its scheme, or
13 // because we already have an application locally that has said it can handle 13 // because we already have an application locally that has said it can handle
14 // the URL. Other times, we will actually fetch |url| to examine its 14 // the URL. Other times, we will actually fetch |url| to examine its
15 // content-type and/or sniff it to determine the correct handler. 15 // content-type and/or sniff it to determine the correct handler.
16 // 16 //
17 // When the caller receives the result, it should connect to the application 17 // When the caller receives the result, it should connect to the application
18 // at |handler_url| and navigate it to |view_url|. 18 // at |handler_url| and navigate it to |view_url|.
19 // 19 //
20 // Note: |view_url| might not be the same as |url|, e.g., in the case of 20 // Note: |view_url| might not be the same as |url|, e.g., in the case of
21 // redirects. Applications should navigate to view_url, not |url| or 21 // redirects. Applications should navigate to view_url, not |url| or
22 // response->url. 22 // response->url.
23 // 23 //
24 // Note: |response| can be NULL in the case where a request was not needed to 24 // Note: |response| can be NULL in the case where a request was not needed to
25 // determine the correct handler. 25 // determine the correct handler.
26 Launch(NavigationDetails details) => 26 Launch(NavigationDetails? details) =>
27 (string handler_url, string view_url, ResponseDetails response); 27 (string? handler_url, string? view_url, ResponseDetails? response);
28 }; 28 };
29 29
30 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698