/external/chromium_org/chrome/browser/ui/cocoa/download/ |
download_util_mac.h | 11 class FilePath; 16 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path);
|
/external/chromium_org/chrome/common/ |
chrome_paths_android.cc | 13 void GetUserCacheDirectory(const base::FilePath& profile_dir, 14 base::FilePath* result) { 19 bool GetDefaultUserDataDirectory(base::FilePath* result) { 23 bool GetUserDocumentsDirectory(base::FilePath* result) { 30 bool GetUserDownloadsDirectory(base::FilePath* result) { 37 bool GetUserMusicDirectory(base::FilePath* result) { 42 bool GetUserPicturesDirectory(base::FilePath* result) { 47 bool GetUserVideosDirectory(base::FilePath* result) {
|
/external/chromium/net/disk_cache/ |
cache_util_unittest.cc | 19 file1_ = FilePath(cache_dir_.Append(FILE_PATH_LITERAL("file01"))); 20 file2_ = FilePath(cache_dir_.Append(FILE_PATH_LITERAL(".file02"))); 21 dir1_ = FilePath(cache_dir_.Append(FILE_PATH_LITERAL("dir01"))); 31 dest_file1_ = FilePath(dest_dir_.Append(FILE_PATH_LITERAL("file01"))); 32 dest_file2_ = FilePath(dest_dir_.Append(FILE_PATH_LITERAL(".file02"))); 33 dest_dir1_ = FilePath(dest_dir_.Append(FILE_PATH_LITERAL("dir01"))); 38 FilePath cache_dir_; 39 FilePath file1_; 40 FilePath file2_; 41 FilePath dir1_ [all...] |
cache_util.h | 11 class FilePath; 21 bool MoveCache(const FilePath& from_path, const FilePath& to_path); 25 void DeleteCache(const FilePath& path, bool remove_folder); 28 bool DeleteCacheFile(const FilePath& name);
|
/external/chromium_org/components/autofill/core/browser/ |
data_driven_test.cc | 17 bool ReadFile(const base::FilePath& file, std::string* content) { 26 bool WriteFile(const base::FilePath& file, const std::string& content) { 35 const base::FilePath& input_directory, 36 const base::FilePath& output_directory, 37 const base::FilePath::StringType& file_name_pattern) { 45 for (base::FilePath input_file = input_files.Next(); 56 base::FilePath output_file = output_directory.Append( 68 base::FilePath DataDrivenTest::GetInputDirectory( 69 const base::FilePath::StringType& test_name) { 70 base::FilePath dir [all...] |
data_driven_test.h | 27 void RunDataDrivenTest(const base::FilePath& input_directory, 28 const base::FilePath& output_directory, 29 const base::FilePath::StringType& file_name_pattern); 38 // Return |base::FilePath|s to the test input and output subdirectories 40 base::FilePath GetInputDirectory(const base::FilePath::StringType& test_name); 41 base::FilePath GetOutputDirectory( 42 const base::FilePath::StringType& test_name); 45 DataDrivenTest(const base::FilePath& test_data_directory); 49 base::FilePath test_data_directory_ [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 63 explicit FilePath(const char* pathname) : pathname_(pathname) { } 64 explicit FilePath(const String& pathname) : pathname_(pathname) { } 66 void Set(const FilePath& rhs) [all...] |
/external/chromium/base/ |
file_util_mac.mm | 17 bool GetTempDir(FilePath* path) { 21 *path = FilePath([tmp fileSystemRepresentation]); 25 bool GetShmemTempDir(FilePath* path) { 29 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
|
/external/chromium/chrome/common/ |
zip.h | 9 class FilePath; 16 bool Zip(const FilePath& src_dir, const FilePath& dest_file, 20 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir);
|
chrome_paths_internal.h | 11 class FilePath; 17 bool GetDefaultUserDataDirectory(FilePath* result); 22 bool GetChromeFrameUserDataDirectory(FilePath* result); 31 void GetUserCacheDirectory(const FilePath& profile_dir, FilePath* result); 34 bool GetUserDocumentsDirectory(FilePath* result); 38 bool GetUserDownloadsDirectorySafe(FilePath* result); 42 bool GetUserDownloadsDirectory(FilePath* result); 45 bool GetUserDesktop(FilePath* result); 52 FilePath GetVersionedDirectory() [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_creator_filter_unittest.cc | 25 base::FilePath CreateEmptyTestFile(const base::FilePath& file_path) { 26 base::FilePath test_file(test_dir_.Append(file_path)); 27 base::FilePath temp_file; 33 base::FilePath CreateEmptyTestFileInDir( 34 const base::FilePath::StringType& file_name, 35 const base::FilePath::StringType& dir) { 36 base::FilePath temp_sub_dir(test_dir_.Append(dir)); 37 base::FilePath test_file(temp_sub_dir.Append(file_name)); 39 base::FilePath temp_file [all...] |
pack_extension_job.h | 25 virtual void OnPackSuccess(const base::FilePath& crx_file, 26 const base::FilePath& key_file) = 0; 35 const base::FilePath& root_directory, 36 const base::FilePath& key_file, 47 static base::string16 StandardSuccessMessage(const base::FilePath& crx_file, 48 const base::FilePath& key_file); 65 base::FilePath root_directory_; 66 base::FilePath key_file_; 67 base::FilePath crx_file_out_; 68 base::FilePath key_file_out_ [all...] |
extension_creator.h | 14 class FilePath; 42 bool Run(const base::FilePath& extension_dir, 43 const base::FilePath& crx_path, 44 const base::FilePath& private_key_path, 45 const base::FilePath& private_key_output_path, 61 bool InitializeInput(const base::FilePath& extension_dir, 62 const base::FilePath& crx_path, 63 const base::FilePath& private_key_path, 64 const base::FilePath& private_key_output_path, 68 bool ValidateManifest(const base::FilePath& extension_dir [all...] |
/external/chromium_org/chrome/installer/setup/ |
archive_patch_helper.h | 34 ArchivePatchHelper(const base::FilePath& working_directory, 35 const base::FilePath& compressed_archive, 36 const base::FilePath& patch_source, 37 const base::FilePath& target); 45 static bool UncompressAndPatch(const base::FilePath& working_directory, 46 const base::FilePath& compressed_archive, 47 const base::FilePath& patch_source, 48 const base::FilePath& target); 53 bool Uncompress(base::FilePath* last_uncompressed_file); 63 const base::FilePath& compressed_archive() const [all...] |
/external/chromium_org/extensions/common/ |
file_util.h | 11 class FilePath; 18 base::FilePath ExtensionURLToRelativeFilePath(const GURL& url); 21 // points a file outside of root, this function will return empty FilePath. 22 base::FilePath ExtensionResourceURLToFilePath(const GURL& url, 23 const base::FilePath& root);
|
file_util.cc | 17 base::FilePath ExtensionURLToRelativeFilePath(const GURL& url) { 20 return base::FilePath(); 29 base::FilePath path = base::FilePath::FromUTF8Unsafe(file_path); 35 return base::FilePath(); 40 base::FilePath ExtensionResourceURLToFilePath(const GURL& url, 41 const base::FilePath& root) { 45 return base::FilePath(); 47 base::FilePath relative_path = ExtensionURLToRelativeFilePath(url); 49 return base::FilePath(); [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_file_win.cc | 16 const base::FilePath& cache_path, 18 const base::FilePath current_directory(FILE_PATH_LITERAL(".")); 19 const base::FilePath parent_directory(FILE_PATH_LITERAL("..")); 20 const base::FilePath::StringType file_pattern = FILE_PATH_LITERAL("*"); 24 for (base::FilePath file_path = enumerator.Next(); !file_path.empty();
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_usage_cache.h | 29 bool GetUsage(const base::FilePath& usage_file_path, int64* usage); 33 bool GetDirty(const base::FilePath& usage_file_path, uint32* dirty); 37 bool IncrementDirty(const base::FilePath& usage_file_path); 38 bool DecrementDirty(const base::FilePath& usage_file_path); 42 bool Invalidate(const base::FilePath& usage_file_path); 43 bool IsValid(const base::FilePath& usage_file_path); 46 bool UpdateUsage(const base::FilePath& usage_file_path, int64 fs_usage); 50 bool AtomicUpdateUsageByDelta(const base::FilePath& usage_file_path, 53 bool Exists(const base::FilePath& usage_file_path); 54 bool Delete(const base::FilePath& usage_file_path) [all...] |
native_file_util.h | 42 const base::FilePath& path, 47 static base::PlatformFileError EnsureFileExists(const base::FilePath& path, 49 static base::PlatformFileError CreateDirectory(const base::FilePath& path, 52 static base::PlatformFileError GetFileInfo(const base::FilePath& path, 55 CreateFileEnumerator(const base::FilePath& root_path, 57 static base::PlatformFileError Touch(const base::FilePath& path, 60 static base::PlatformFileError Truncate(const base::FilePath& path, 62 static bool PathExists(const base::FilePath& path); 63 static bool DirectoryExists(const base::FilePath& path); 65 const base::FilePath& src_path [all...] |
/external/chromium/base/test/ |
test_file_util.h | 13 class FilePath; 20 bool DieFileDie(const FilePath& file, bool recurse); 24 bool EvictFileFromSystemCache(const FilePath& file); 32 bool CopyRecursiveDirNoCache(const FilePath& source_dir, 33 const FilePath& dest_dir); 37 bool VolumeSupportsADS(const FilePath& path); 43 bool HasInternetZoneIdentifier(const FilePath& full_path); 46 // In general it's not reliable to convert a FilePath to a wstring and we use 49 std::wstring FilePathAsWString(const FilePath& path); 50 FilePath WStringAsFilePath(const std::wstring& path) [all...] |
/external/chromium_org/chrome/browser/ |
icon_loader_win.cc | 20 const base::FilePath& filepath) { 21 if (!IsIconMutableFromFilepath(filepath)) 22 return filepath.Extension(); 23 return filepath.value(); 26 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath& filepath) { 27 return filepath.MatchesExtension(L".exe") || 28 filepath.MatchesExtension(L".dll") || 29 filepath.MatchesExtension(L".ico") [all...] |
/external/chromium_org/chrome/common/mac/ |
app_mode_chrome_locator_unittest.mm | 20 void GetChromeBundlePath(base::FilePath* chrome_bundle) { 21 base::FilePath path; 24 path = path.ReplaceExtension(base::FilePath::StringType("app")); 31 base::FilePath finder_bundle_path; 38 base::FilePath dummy; 47 base::FilePath version_path; 48 base::FilePath framework_path; 56 base::FilePath chrome_bundle_path; 61 base::FilePath version_path; 62 base::FilePath framework_path [all...] |
/external/chromium/chrome/browser/chromeos/ |
plugin_selection_policy_unittest.cc | 87 FilePath* path) { 88 FilePath policy_file = GetPolicyPath(name); 98 FilePath GetPolicyPath(const std::string& name) { 99 FilePath policy_file(temp_dir_.path()); 100 return policy_file.Append(FilePath(name)); 110 FilePath path; 118 FilePath path; 125 FilePath path; 132 FilePath path; 139 FilePath path [all...] |
/external/chromium/chrome/browser/autofill/ |
data_driven_test.cc | 17 bool ReadFile(const FilePath& file, std::string* content) { 26 bool WriteFile(const FilePath& file, const std::string& content) { 35 const FilePath& input_directory, 36 const FilePath& output_directory, 37 const FilePath::StringType& file_name_pattern) { 43 for (FilePath input_file = input_files.Next(); 54 FilePath output_file = output_directory.Append( 66 FilePath DataDrivenTest::GetInputDirectory( 67 const FilePath::StringType& test_name) { 68 FilePath test_data_dir_ [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_change_unittest.cc | 12 base::FilePath change_path(FILE_PATH_LITERAL("test")); 22 base::FilePath change_path(FILE_PATH_LITERAL("a/b/c/d")); 38 FileChange file_change1(base::FilePath(FILE_PATH_LITERAL("a")), 40 FileChange file_change2(base::FilePath(FILE_PATH_LITERAL("b")), 46 FileChange file_change3(base::FilePath(FILE_PATH_LITERAL("a")), 48 FileChange file_change4(base::FilePath(FILE_PATH_LITERAL("a")), 53 FileChange file_change5(base::FilePath(FILE_PATH_LITERAL("c")), 55 FileChange file_change6(base::FilePath(FILE_PATH_LITERAL("c")), 61 FileChange file_change1(base::FilePath(FILE_PATH_LITERAL("a")), 63 FileChange file_change2(base::FilePath(FILE_PATH_LITERAL("a")) [all...] |