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

Side by Side Diff: components/resource_provider/file_utils.h

Issue 1108403008: Adds resource_provider::ResourceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 7 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
« no previous file with comments | « components/resource_provider/OWNERS ('k') | components/resource_provider/file_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_
6 #define COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_
7
8 #include <string>
9
10 class GURL;
11
12 namespace base {
13 class FilePath;
14 }
15
16 namespace resource_provider {
17
18 // Returns the path to the resources for |application_url|, or an empty
19 // path if |application_url| is not valid.
20 base::FilePath GetPathForApplicationUrl(const GURL& application_url);
21
22 // Returns the path to the specified resource. |app_path| was previously
23 // obtained by way of GetPathForApplicationUrl().
24 base::FilePath GetPathForResourceNamed(const base::FilePath& app_path,
25 const std::string& resource_path);
26
27 } // namespace resource_provider
28
29 #endif // COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_
OLDNEW
« no previous file with comments | « components/resource_provider/OWNERS ('k') | components/resource_provider/file_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698