OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ | 5 #ifndef EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ |
6 #define EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ | 6 #define EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | |
Devlin
2014/04/25 00:14:54
Where is this used in this file?
jaeweheo
2014/04/25 01:48:56
It is used in .cc.
So I remove this line and add t
| |
9 | 10 |
10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
11 | 12 |
12 namespace extensions { | 13 namespace extensions { |
13 | 14 |
14 // Represents a resource inside an extension. For example, an image, or a | 15 // Represents a resource inside an extension. For example, an image, or a |
15 // JavaScript file. This is more complicated than just a simple FilePath | 16 // JavaScript file. This is more complicated than just a simple FilePath |
16 // because extension resources can come from multiple physical file locations | 17 // because extension resources can come from multiple physical file locations |
17 // depending on locale. | 18 // depending on locale. |
18 class ExtensionResource { | 19 class ExtensionResource { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 // within |extension_root|, but it can be a symlink to a file that is not. | 81 // within |extension_root|, but it can be a symlink to a file that is not. |
81 bool follow_symlinks_anywhere_; | 82 bool follow_symlinks_anywhere_; |
82 | 83 |
83 // Full path to extension resource. Starts empty. | 84 // Full path to extension resource. Starts empty. |
84 mutable base::FilePath full_resource_path_; | 85 mutable base::FilePath full_resource_path_; |
85 }; | 86 }; |
86 | 87 |
87 } // namespace extensions | 88 } // namespace extensions |
88 | 89 |
89 #endif // EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ | 90 #endif // EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_ |
OLD | NEW |