/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/chromium_org/chrome/common/extensions/ |
web_accessible_resources_handler.cc | 38 const std::string& relative_path) { 48 info->web_accessible_resources_, relative_path); 74 std::string relative_path; local 75 if (!list_value->GetString(i, &relative_path)) { 86 while (relative_path[0] == '/') 87 relative_path = relative_path.substr(1, relative_path.length() - 1); 88 pattern.SetPath(pattern.path() + relative_path);
|
extension_l10n_util.cc | 346 base::FilePath relative_path; local 347 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) { 351 std::string subdir = relative_path.MaybeAsASCII();
|
/external/chromium_org/extensions/common/ |
extension_resource.h | 31 const base::FilePath& relative_path); 54 const base::FilePath& relative_path, 60 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::ExtensionResource
|
extension_resource_unittest.cc | 23 EXPECT_TRUE(resource.relative_path().empty()); 37 base::FilePath relative_path; local 38 relative_path = relative_path.AppendASCII("cira.js"); 40 ExtensionResource resource(extension_id, root_path, relative_path); 44 EXPECT_EQ(relative_path.value(), resource.relative_path().value()); 161 ToLower(resource.relative_path().value()));
|
user_script.h | 55 const base::FilePath& relative_path, 61 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::UserScript::File
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
sandboxed_page_info.cc | 54 const std::string& relative_path) { 55 return extension->ResourceMatches(GetPages(extension), relative_path); 74 std::string relative_path; local 75 if (!list_value->GetString(i, &relative_path)) { 86 while (relative_path[0] == '/') 87 relative_path = relative_path.substr(1, relative_path.length() - 1); 88 pattern.SetPath(pattern.path() + relative_path);
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_dir_url_request_job.cc | 104 base::FilePath relative_path = url_.path(); local 106 relative_path = base::FilePath(FILE_PATH_LITERAL("/") + relative_path.value()); 108 const base::string16& title = relative_path.LossyDisplayName();
|
/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_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_misc.cc | 155 base::FilePath relative_path; local 156 if (!src_dir.AppendRelativePath(file_path, &relative_path)) 158 src_relative_paths.push_back(relative_path);
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker.cc | 299 base::FilePath relative_path; local 301 if (!temp_install_dir_.AppendRelativePath(message_path, &relative_path)) { 306 std::string dir_name = relative_path.DirName().MaybeAsASCII();
|
/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_org/chrome/browser/extensions/api/runtime/ |
runtime_api.cc | 413 std::string relative_path = kPackageDirectoryPath; local 416 fileapi::kFileSystemTypeNativeLocal, path, &relative_path); 425 dict->SetString("baseName", relative_path);
|
/external/chromium_org/chrome/browser/extensions/ |
image_loader.cc | 225 base::FilePath relative_path; local 227 !resources_dir.AppendRelativePath(directory_path, &relative_path)) { 230 relative_path = relative_path.Append(resource_path); 231 relative_path = relative_path.NormalizePathSeparators(); 234 path_to_resource_id.Get().find(relative_path); 271 DCHECK(it->resource.relative_path().empty() || 277 it->resource.relative_path(), 303 if (it->resource.relative_path().empty() [all...] |
sandboxed_unpacker.cc | 781 base::FilePath relative_path = local 783 relative_path = relative_path.Append(kMessagesFilename); 784 if (relative_path.IsAbsolute() || relative_path.ReferencesParent()) { 793 base::FilePath path = extension_root_.Append(relative_path);
|
extension_protocols.cc | 251 const base::FilePath& relative_path, 257 resource_(extension_id, directory_path, relative_path), 491 base::FilePath relative_path; local 499 resources_path.AppendRelativePath(directory_path, &relative_path)) { 505 relative_path = relative_path.Append(request_path); 506 relative_path = relative_path.NormalizePathSeparators(); 510 relative_path, 517 relative_path [all...] |
/external/chromium_org/chrome/browser/plugins/ |
plugin_prefs.cc | 394 base::FilePath relative_path; local 397 // |last_internal_dir|. For example, |relative_path| will be 401 // removed and prepended to |relative_path| until we get up to 404 relative_path = plugin_path.BaseName().Append(relative_path); 415 // If |relative_path| is empty, |plugin_path| is not within 417 if (!relative_path.empty()) { 418 plugin_path = cur_internal_dir.Append(relative_path);
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_preferences_unittest.cc | 178 base::FilePath relative_path, 183 expected_galleries_[id].path = relative_path.NormalizePathSeparators(); 194 const base::FilePath& relative_path, 197 device_id, display_name, relative_path, user_added, 203 const base::FilePath& relative_path, 206 device_id, display_name, relative_path, user_added, 212 const base::FilePath& relative_path, 215 device_id, display_name, relative_path, user_added, 266 base::FilePath relative_path; local 272 MediaStorageUtil::GetDeviceInfoFromPath(path, &info, &relative_path); 342 base::FilePath relative_path; local 379 base::FilePath relative_path; local 420 base::FilePath relative_path; local 465 base::FilePath relative_path; local 493 base::FilePath relative_path; local 611 base::FilePath relative_path; local 639 base::FilePath relative_path; local 719 base::FilePath relative_path; local 770 base::FilePath relative_path; local [all...] |