/external/chromium_org/chrome/browser/extensions/ |
chrome_component_extension_resource_manager.cc | 71 base::FilePath relative_path; local 73 !resources_dir.AppendRelativePath(directory_path, &relative_path)) { 76 relative_path = relative_path.Append(resource_path); 77 relative_path = relative_path.NormalizePathSeparators(); 80 path_to_resource_id_.find(relative_path);
|
chrome_url_request_util.cc | 162 base::FilePath relative_path; local 170 resources_path.AppendRelativePath(directory_path, &relative_path)) { 178 relative_path = relative_path.Append(request_path); 179 relative_path = relative_path.NormalizePathSeparators(); 182 relative_path,
|
sandboxed_unpacker.cc | 789 base::FilePath relative_path = base::FilePath::FromUTF8Unsafe(it.key()); local 790 relative_path = relative_path.Append(kMessagesFilename); 791 if (relative_path.IsAbsolute() || relative_path.ReferencesParent()) { 800 base::FilePath path = extension_root_.Append(relative_path);
|
/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()));
|
extension_l10n_util.cc | 432 base::FilePath relative_path; local 433 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) { 437 std::string subdir = relative_path.MaybeAsASCII();
|
user_script.h | 78 const base::FilePath& relative_path, 84 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::UserScript::File
|
/external/chromium_org/extensions/common/manifest_handlers/ |
web_accessible_resources_info.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);
|
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);
|
webview_info.cc | 74 const std::string& relative_path) { 86 relative_path)) { 160 std::string relative_path; local 161 if (!url_list->GetString(i, &relative_path)) { 168 relative_path).spec());
|
/external/chromium_org/storage/browser/fileapi/ |
file_system_dir_url_request_job.cc | 137 base::FilePath relative_path = url_.path(); local 139 relative_path = 140 base::FilePath(FILE_PATH_LITERAL("/") + relative_path.value()); 142 const base::string16& title = relative_path.LossyDisplayName();
|
/external/chromium_org/third_party/zlib/google/ |
zip.cc | 54 base::FilePath relative_path; local 55 bool result = root_path.AppendRelativePath(path, &relative_path); 57 std::string str_path = relative_path.AsUTF8Unsafe();
|
/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_org/extensions/browser/ |
content_hash_reader.h | 26 // Create one of these to get expected hashes for the file at |relative_path| 31 const base::FilePath& relative_path, 35 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::ContentHashReader
|
content_verifier.cc | 57 const base::FilePath& relative_path) { 66 paths.insert(relative_path); 76 relative_path, 242 const base::FilePath& relative_path = *i; local 244 if (relative_path == base::FilePath(kManifestFilename)) 247 if (ContainsKey(browser_images, relative_path)) 250 base::FilePath full_path = extension_root.Append(relative_path);
|
content_hash_fetcher.cc | 378 base::FilePath relative_path; local 379 extension_path_.AppendRelativePath(full_path, &relative_path); 380 relative_path = relative_path.NormalizePathSeparatorsTo('/'); 382 if (!verified_contents_->HasTreeHashRoot(relative_path)) 397 if (!verified_contents_->TreeHashRootEquals(relative_path, root)) { 398 VLOG(1) << "content mismatch for " << relative_path.AsUTF8Unsafe(); 399 hash_mismatch_paths_.insert(relative_path); 403 writer.AddHashes(relative_path, block_size_, hashes);
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker.cc | 303 base::FilePath relative_path; local 305 if (!temp_install_dir_.AppendRelativePath(message_path, &relative_path)) { 310 std::string dir_name = relative_path.DirName().MaybeAsASCII();
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_misc.cc | 203 base::FilePath relative_path; local 204 if (!src_dir.AppendRelativePath(file_path, &relative_path)) 206 src_relative_paths.push_back(relative_path);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
fileapi_util.cc | 32 GURL ConvertRelativeFilePathToFileSystemUrl(const base::FilePath& relative_path, 38 net::EscapeUrlEncodedData(relative_path.AsUTF8Unsafe(), 261 base::FilePath relative_path; local 265 &relative_path); 266 return relative_path; 272 const base::FilePath relative_path = local 275 if (relative_path.empty()) 277 return ConvertRelativeFilePathToFileSystemUrl(relative_path, extension_id); 284 base::FilePath relative_path; local 288 &relative_path)) { [all...] |
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/ |
wallpaper_manager_browsertest.cc | 179 std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); local 181 WallpaperInfo info = {relative_path, WALLPAPER_LAYOUT_CENTER_CROPPED, 261 std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); local 263 WallpaperInfo info = {relative_path, WALLPAPER_LAYOUT_CENTER_CROPPED, 480 std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); local 482 WallpaperInfo info = {relative_path, WALLPAPER_LAYOUT_CENTER_CROPPED, [all...] |
/external/chromium_org/chrome/browser/extensions/api/file_handlers/ |
app_file_handler_util.cc | 365 base::FilePath relative_path = local 368 .Append(relative_path);
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_prefs.cc | 401 base::FilePath relative_path; local 404 // |last_internal_dir|. For example, |relative_path| will be 408 // removed and prepended to |relative_path| until we get up to 411 relative_path = plugin_path.BaseName().Append(relative_path); 422 // If |relative_path| is empty, |plugin_path| is not within 424 if (!relative_path.empty()) { 425 plugin_path = cur_internal_dir.Append(relative_path);
|
/external/chromium_org/content/browser/ |
storage_partition_impl_map.cc | 273 base::FilePath relative_path; local 274 if (!storage_root.AppendRelativePath(*iter, &relative_path)) 278 relative_path.GetComponents(&components); 280 DCHECK(!relative_path.empty());
|
/external/chromium_org/extensions/browser/api/runtime/ |
runtime_api.cc | 505 std::string relative_path = kPackageDirectoryPath; local 508 storage::kFileSystemTypeNativeLocal, std::string(), path, &relative_path); 516 dict->SetString("baseName", relative_path);
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_delegate_impl_linux.cc | 41 base::FilePath relative_path; local 42 if (registered_dev_path.AppendRelativePath(file_path, &relative_path)) { 43 DCHECK(!relative_path.empty()); 44 result = relative_path.value(); [all...] |