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

Side by Side Diff: components/resource_provider/public/interfaces/resource_provider.mojom

Issue 1431133003: mandoline: Reland "Fix ICU initialization". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT and then fix compile. Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module resource_provider; 5 module resource_provider;
6 6
7 // An interface through which a mojo application obtains resources. 7 // An interface through which a mojo application obtains resources.
8 interface ResourceProvider { 8 interface ResourceProvider {
9 // Fetches the resources at the specified paths. The paths are relative to 9 // Fetches the resources at the specified paths. The paths are relative to
10 // the resources directory of the application. Use "/" as the path separator. 10 // the resources directory of the application. Use "/" as the path separator.
11 // For example, the path "foo/bar" returns a platform handle to the file at 11 // For example, the path "foo/bar" returns a platform handle to the file at
12 // the path foo/bar relative to the resources directory of the application 12 // the path foo/bar relative to the resources directory of the application
13 // requestion the resource. 13 // requestion the resource.
14 // 14 //
15 // The result is an array of platform handles for each of the requested paths. 15 // The result is an array of platform handles for each of the requested paths.
16 // TODO(sky): this should really be map<string,handle>, but that doesn't work. 16 // TODO(sky): this should really be map<string,handle>, but that doesn't work.
17 GetResources(array<string> paths) => (array<handle> resource_handles); 17 GetResources(array<string> paths) => (array<handle> resource_handles);
18
19 // Fetch a handle to the shared version of ICU table.
20 GetICUHandle() => (handle resource_handle);
21 }; 18 };
OLDNEW
« no previous file with comments | « components/resource_provider/public/cpp/resource_loader.cc ('k') | components/resource_provider/resource_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698