/external/chromium/chrome/browser/ |
platform_util_chromeos.cc | 7 #include "base/file_util.h" 41 if (!file_util::DirectoryExists(dir))
|
platform_util_linux.cc | 9 #include "base/file_util.h" 61 if (!file_util::DirectoryExists(dir))
|
shell_integration_linux.cc | 20 #include "base/file_util.h" 85 int bytes_written = file_util::WriteFile(temp_file_path, 134 ssize_t bytes_written = file_util::WriteFileDescriptor(fd, contents.data(), 160 int bytes_written = file_util::WriteFile(temp_file_path, contents.data(), 328 if (file_util::PathExists(path)) { 330 return file_util::ReadFileToString(path, output); 343 file_util::ReplaceIllegalCharactersInPath(&filename, '_'); 352 if (file_util::PathExists(FilePath(alternative_filepath))) {
|
/external/chromium/chrome/browser/ui/web_applications/ |
web_app_ui.cc | 7 #include "base/file_util.h" 205 if (file_util::PathExists(shortcut_file)) { 226 if (!file_util::PathExists(web_app_path) && 227 !file_util::CreateDirectory(web_app_path)) { 249 file_util::UpdateShortcutLink(NULL,
|
/external/chromium/net/base/ |
directory_lister.h | 12 #include "base/file_util.h" 34 file_util::FileEnumerator::FindInfo info;
|
/external/chromium/net/disk_cache/ |
cache_util_win.cc | 9 #include "base/file_util.h" 19 file_util::AppendToPath(&name, search_name);
|
/external/chromium/net/tools/testserver/ |
run_testserver.cc | 66 if (!file_util::DirectoryExists(test_server.document_root())) {
|
/external/chromium/net/url_request/ |
url_request_file_job.cc | 53 bool exists = file_util::GetFileInfo(file_path, &file_info); 116 file_util::EndsWithSeparator(file_path) && 171 exists = file_util::GetFileInfo(file_path_, &file_info); 252 resolved = file_util::ResolveShortcut(&new_path);
|
/external/chromium/webkit/glue/ |
context_menu_unittest.cc | 11 #include "base/file_util.h" 33 ASSERT_TRUE(file_util::PathExists(iframes_data_dir_));
|
/external/chromium/chrome/browser/extensions/ |
sandboxed_extension_unpacker.cc | 10 #include "base/file_util.h" 105 if (!file_util::CopyFile(crx_path_, temp_crx_path)) { 128 if (!file_util::NormalizeFilePath(temp_crx_path, &link_free_crx_path)) { 248 ScopedStdioHandle file(file_util::OpenFile(crx_path_, "rb")); 446 if (!file_util::WriteFile(manifest_path, 498 if (!file_util::Delete(extension_root_.Append(path), false)) { 541 if (!file_util::WriteFile(path, image_data_ptr, image_data.size())) { 612 if (!file_util::WriteFile(path,
|
extension_browsertest.cc | 11 #include "base/file_util.h" 75 file_util::AbsolutePath(&extension_path); 124 if (!file_util::ReadFileToString(path.Append(Extension::kManifestFilename), 136 if (!file_util::Delete(crx_path, false)) { 142 if (!file_util::Delete(pem_path, false)) { 147 if (!file_util::PathExists(dir_path)) { 161 if (!file_util::PathExists(crx_path)) {
|
extension_service_unittest.cc | 13 #include "base/file_util.h" 437 file_util::Delete(path_, true); 438 file_util::CreateDirectory(path_); 440 file_util::CopyFile(prefs_file, temp_prefs); 443 file_util::Delete(extensions_install_dir_, true); 444 file_util::CopyDirectory(source_install_dir, extensions_install_dir_, true); 463 file_util::Delete(path_, true); 464 file_util::CreateDirectory(path_); 468 file_util::Delete(extensions_install_dir_, true); 469 file_util::CreateDirectory(extensions_install_dir_) [all...] |
convert_user_script.cc | 12 #include "base/file_util.h" 32 if (!file_util::ReadFileToString(user_script_path, &content)) { 143 if (!file_util::CopyFile(user_script_path,
|
/external/chromium/chrome/browser/first_run/ |
first_run.cc | 9 #include "base/file_util.h" 51 if (!file_util::PathExists(default_pref_dir)) { 52 if (!file_util::CreateDirectory(default_pref_dir)) 165 if (!file_util::CopyFile(master_prefs, user_prefs)) 336 file_util::PathExists(first_run_sentinel)) { 349 return file_util::Delete(first_run_sentinel, false); 357 return file_util::WriteFile(first_run_sentinel, "", 0) != -1; 503 bool local_state_file_exists = file_util::PathExists(local_state_path);
|
/external/chromium/chrome/browser/download/ |
download_manager_unittest.cc | 8 #include "base/file_util.h" 515 EXPECT_FALSE(file_util::PathExists(new_path)); 516 EXPECT_FALSE(file_util::PathExists(cr_path)); 532 EXPECT_FALSE(file_util::PathExists(new_path)); 536 FILE* fp = file_util::OpenFile(new_path, "w"); 537 file_util::CloseFile(fp); 538 EXPECT_TRUE(file_util::PathExists(new_path)); 597 EXPECT_TRUE(file_util::PathExists(new_path)); 598 EXPECT_FALSE(file_util::PathExists(cr_path)); 599 EXPECT_FALSE(file_util::PathExists(unique_new_path)) [all...] |
save_file_manager.cc | 9 #include "base/file_util.h" 465 bool success = file_util::CopyFile(file_path, save_file->full_path()); 467 file_util::Delete(save_file->full_path(), false); 476 file_util::Delete(full_path, is_dir); 496 if (!resource_dir.empty() && !file_util::PathExists(resource_dir)) 497 file_util::CreateDirectory(resource_dir); 540 file_util::Delete(save_file->full_path(), false);
|
download_browsertest.cc | 6 #include "base/file_util.h" 550 bool origin_file_exists = file_util::PathExists(origin_file); 556 bool downloaded_file_exists = file_util::PathExists(downloaded_file); 563 EXPECT_TRUE(file_util::GetFileSize(origin_file, &origin_file_size)); 564 EXPECT_TRUE(file_util::GetFileSize(downloaded_file, &downloaded_file_size)); 566 EXPECT_TRUE(file_util::ContentsEqual(downloaded_file, origin_file)); 570 file_util::DieFileDie(downloaded_file, false); 634 bool downloaded_path_exists = file_util::PathExists(download_path); 640 EXPECT_TRUE(file_util::DieFileDie(download_path, true)); 641 EXPECT_FALSE(file_util::PathExists(download_path)) [all...] |
/external/chromium/chrome/browser/importer/ |
firefox3_importer.cc | 11 #include "base/file_util.h" 110 if (!file_util::PathExists(file)) 156 if (!file_util::PathExists(file)) 322 if (file_util::PathExists(file)) { 328 if (!file_util::PathExists(file)) 332 file_util::ReadFileToString(file, &content); 364 if (!file_util::PathExists(file)) 423 if (file_util::DirectoryExists(locale_app_path)) 425 else if (file_util::DirectoryExists(default_locale_app_path)) 430 file_util::FileEnumerator engines(app_path, false [all...] |
importer_unittest.cc | 21 #include "base/file_util.h" 64 file_util::Delete(test_path, true); 65 file_util::CreateDirectory(test_path); 68 file_util::CreateDirectory(app_path_); 78 ASSERT_TRUE(file_util::CopyDirectory(data_path, profile_path_, true)); 81 ASSERT_TRUE(file_util::CopyDirectory(data_path, profile_path_, false)); 85 file_util::CreateDirectory(search_engine_path); 89 if (!file_util::PathExists(data_path)) { 94 ASSERT_TRUE(file_util::CopyDirectory(data_path, 350 file_util::WriteFile(path + L"\\InvalidUrlFile.url", "x", 1) [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 10 #include "base/file_util.h" 160 if (!file_util::GetFileSize(filter_name, &size_64)) 165 file_util::ScopedFILE file(file_util::OpenFile(filter_name, "rb")); 239 file_util::ScopedFILE file(file_util::OpenFile(filter_name, "wb"));
|
safe_browsing_store_file.h | 15 #include "base/file_util.h" 256 file_util::ScopedFILE file_; 257 file_util::ScopedFILE new_file_;
|
/external/chromium/chrome/browser/ui/webui/ |
print_preview_handler.cc | 34 #include "base/file_util.h" 136 if (!file_util::CreateTemporaryFile(&ppd_file_path)) 140 if (data_size != file_util::WriteFile( 144 file_util::Delete(ppd_file_path, false); 155 file_util::Delete(ppd_file_path, false); 285 file_util::ReplaceIllegalCharactersInPath(&print_job_title, '_');
|
/external/chromium/chrome/browser/webdata/ |
web_apps_table_unittest.cc | 5 #include "base/file_util.h" 29 file_util::Delete(file_, false); 33 file_util::Delete(file_, false);
|
/external/chromium/chrome/common/ |
chrome_content_client.cc | 8 #include "base/file_util.h" 59 if (skip_pdf_file_check || file_util::PathExists(path)) { 76 if (skip_nacl_file_check || file_util::PathExists(path)) {
|
/external/chromium/net/test/ |
test_server_posix.cc | 12 #include "base/file_util.h" 111 file_util::ScopedFD write_closer(&pipefd[1]); 137 file_util::ScopedFD child_fd_closer(child_fd_closer_.release());
|