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

Side by Side Diff: mojo/services/location/interfaces/geocoder.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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 // All of the types that follow are simple mappings of the types defined by the 5 // All of the types that follow are simple mappings of the types defined by the
6 // "Google Maps JavaScript API v3" defined here: 6 // "Google Maps JavaScript API v3" defined here:
7 // https://developers.google.com/maps/documentation/javascript/geocoding 7 // https://developers.google.com/maps/documentation/javascript/geocoding
8 8
9 [DartPackage="mojo_services"] 9 [DartPackage="mojo_services"]
10 module mojo; 10 module mojo;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 struct Status { 55 struct Status {
56 const string OK = "OK"; 56 const string OK = "OK";
57 const string ZERO_RESULTS = "ZERO_RESULTS"; 57 const string ZERO_RESULTS = "ZERO_RESULTS";
58 const string OVER_QUERY_LIMIT = "OVER_QUERY_LIMIT"; 58 const string OVER_QUERY_LIMIT = "OVER_QUERY_LIMIT";
59 const string REQUEST_DENIED = "REQUEST_DENIED"; 59 const string REQUEST_DENIED = "REQUEST_DENIED";
60 const string INVALID_REQUEST = "INVALID_REQUEST"; 60 const string INVALID_REQUEST = "INVALID_REQUEST";
61 }; 61 };
62 62
63 interface Geocoder { 63 interface Geocoder {
64 AddressToLocation(string address, Options? options) => (string status, array<R esult>? results); 64 AddressToLocation(string address, Options? options)
65 LocationToAddress(Location location, Options? options) => (string status, arra y<Result>? results); 65 => (string status, array<Result>? results);
66 LocationToAddress(Location location, Options? options)
67 => (string status, array<Result>? results);
66 }; 68 };
OLDNEW
« no previous file with comments | « mojo/services/keyboard/interfaces/keyboard.mojom ('k') | mojo/services/media/audio/interfaces/audio_track.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698