• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
7 
8 #include <set>
9 
10 namespace base {
11 class FilePath;
12 }
13 
14 namespace extensions {
15 class Extension;
16 }
17 
18 // DEPRECATED: Prefer extensions/common/file_util.cc.
19 namespace extension_file_util {
20 
21 // Returns a list of paths (relative to the extension dir) for images that
22 // the browser might load (like themes and page action icons) for the given
23 // extension.
24 std::set<base::FilePath> GetBrowserImagePaths(
25     const extensions::Extension* extension);
26 
27 }  // namespace extension_file_util
28 
29 #endif  // CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
30