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

Side by Side Diff: extensions/common/file_util.h

Issue 65123002: Move chrome/common/extensions/background_info.h to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase2 background_info Created 7 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 | Annotate | Revision Log
« no previous file with comments | « extensions/common/DEPS ('k') | extensions/common/file_util.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 2013 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 EXTENSIONS_COMMON_FILE_UTIL_H_
6 #define EXTENSIONS_COMMON_FILE_UTIL_H_
7
8 class GURL;
9
10 namespace base {
11 class FilePath;
12 }
13
14 namespace extensions {
15 namespace file_util {
16
17 // Get a relative file path from a chrome-extension:// URL.
18 base::FilePath ExtensionURLToRelativeFilePath(const GURL& url);
19
20 // Get a full file path from a chrome-extension-resource:// URL, If the URL
21 // points a file outside of root, this function will return empty FilePath.
22 base::FilePath ExtensionResourceURLToFilePath(const GURL& url,
23 const base::FilePath& root);
24
25 } // namespace file_util
26 } // namespace extensions
27
28 #endif // EXTENSIONS_COMMON_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « extensions/common/DEPS ('k') | extensions/common/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698