/external/chromium/chrome/common/extensions/ |
extension_resource.h | 23 const FilePath& relative_path); 37 const FilePath& relative_path); 42 const FilePath& relative_path() const { return relative_path_; } function in class:ExtensionResource
|
extension_resource_unittest.cc | 21 EXPECT_TRUE(resource.relative_path().empty()); 34 FilePath relative_path; local 35 relative_path = relative_path.AppendASCII("cira.js"); 38 ExtensionResource resource(extension_id, root_path, relative_path); 42 EXPECT_EQ(relative_path.value(), resource.relative_path().value()); 88 ToLower(resource.relative_path().value()));
|
extension_l10n_util.cc | 297 FilePath relative_path; local 298 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) { 302 std::string subdir = relative_path.MaybeAsASCII();
|
extension_unpacker.cc | 306 FilePath relative_path; local 308 if (!temp_install_dir_.AppendRelativePath(message_path, &relative_path)) { 313 std::string dir_name = relative_path.DirName().MaybeAsASCII();
|
user_script.h | 53 File(const FilePath& extension_root, const FilePath& relative_path, 59 const FilePath& relative_path() const { return relative_path_; } function in class:UserScript::File
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
core-extensions.rb | 184 # File.relative_path('rel/path') # => './rel/path' 185 # File.relative_path('/some/abs/path', '/some') # => './abs/path' 186 # File.relative_path('/some/file.txt', '/some/abs/path') # => '../../file.txt' 187 def self.relative_path( target, reference = Dir.pwd ) singleton method in class:File
|
/external/chromium/chrome/browser/extensions/ |
execute_code_in_tab_function.cc | 107 std::string relative_path; local 109 if (!script_info->GetString(keys::kFileKey, &relative_path)) 111 resource_ = GetExtension()->GetResource(relative_path); 113 if (resource_.extension_root().empty() || resource_.relative_path().empty()) { 135 resource_.relative_path().value()); 138 WideToUTF8(resource_.relative_path().value()));
|
extension_protocols.cc | 143 FilePath relative_path = directory_path.BaseName().Append( local 146 relative_path = relative_path.NormalizeWindowsPathSeparators(); 158 if (relative_path == bm_resource_path) { 159 return new URLRequestResourceBundleJob(request, relative_path,
|
sandboxed_extension_unpacker.cc | 584 FilePath relative_path = FilePath::FromWStringHack(UTF8ToWide(*key_it)); local 585 relative_path = relative_path.Append(Extension::kMessagesFilename); 586 if (relative_path.IsAbsolute() || relative_path.ReferencesParent()) { 595 FilePath path = extension_root_.Append(relative_path);
|
/external/chromium/chrome/browser/ui/webui/ |
chrome_url_data_manager_backend.cc | 415 std::string relative_path; local 416 URLToRequest(stripped_url, &source_name, &relative_path); 421 // Check that |relative_path| is not an absolute path (otherwise 424 FilePath p(FilePath::StringType(relative_path.begin(), relative_path.end())); 432 *path = inspector_dir.AppendASCII(relative_path);
|
/external/chromium/chrome/browser/ui/views/ |
browser_actions_container.cc | 95 std::string relative_path = browser_action_->default_icon_path(); local 96 if (relative_path.empty()) 103 tracker_.LoadImage(extension_, extension_->GetResource(relative_path), [all...] |