/external/chromium/chrome/browser/download/ |
download_util.h | 48 const FilePath& GetDefaultDownloadDirectory(); 52 bool CreateTemporaryFileForDownload(FilePath* path); 55 bool DownloadPathIsDangerous(const FilePath& download_path); 58 void GenerateExtension(const FilePath& file_name, 60 FilePath::StringType* generated_extension); 64 FilePath* generated_name); 71 FilePath* generated_name); 76 void GenerateSafeFileName(const std::string& mime_type, FilePath* file_name); 226 void AppendNumberToPath(FilePath* path, int number); 231 int GetUniquePathNumber(const FilePath& path) [all...] |
save_package_unittest.cc | 47 bool HasOrdinalNumber(const FilePath::StringType& filename) { 48 FilePath::StringType::size_type r_paren_index = filename.rfind(FPL(')')); 49 FilePath::StringType::size_type l_paren_index = filename.rfind(FPL('(')); 53 for (FilePath::StringType::size_type i = l_paren_index + 1; 73 FilePath::StringType* generated_name) { 83 FilePath EnsureHtmlExtension(const FilePath& name) { 87 FilePath EnsureMimeExtension(const FilePath& name, 134 const FilePath::CharType* expected_name [all...] |
save_page_browsertest.cc | 25 static const FilePath::CharType* kTestDir = FILE_PATH_LITERAL("save_page"); 51 FilePath test_dir_; 58 FilePath file_name(FILE_PATH_LITERAL("a.htm")); 60 FilePath(kTestDir).Append(file_name)); 66 FilePath full_file_name = save_dir_.path().Append(file_name); 67 FilePath dir = save_dir_.path().AppendASCII("a_files"); 79 test_dir_.Append(FilePath(kTestDir)).Append(file_name), 84 FilePath file_name(FILE_PATH_LITERAL("a.htm")); 86 FilePath(kTestDir).Append(file_name)); 88 FilePath(kTestDir).Append(file_name)) [all...] |
save_types.h | 17 typedef std::vector<std::pair<int, FilePath> > FinalNameList; 36 SaveFileCreateInfo(const FilePath& path, 47 FilePath path;
|
/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_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { 31 for (FilePath name = iter.Next(); !name.value().empty(); name = iter.Next()) { 32 FilePath destination = to_path.Append(name.BaseName()); 44 void DeleteCache(const FilePath& path, bool remove_folder) { 48 for (FilePath file = iter.Next(); !file.value().empty(); file = iter.Next()) { 63 bool DeleteCacheFile(const FilePath& name) {
|
/external/chromium/base/memory/ |
scoped_temp_dir.cc | 31 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { 49 bool ScopedTempDir::Set(const FilePath& path) { 76 FilePath ScopedTempDir::Take() { 77 FilePath ret = path_; 78 path_ = FilePath();
|
/external/chromium/chrome/common/ |
chrome_paths_unittest.cc | 17 FilePath test_profile_dir, cache_dir; 21 FilePath expected_cache_dir; 25 FilePath homedir = file_util::GetHomeDir(); 29 FilePath expected_cache_dir = homedir.Append(".cache/foobar"); 41 test_profile_dir = FilePath(FILE_PATH_LITERAL("/some/other/path"));
|
/external/chromium/testing/gtest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 129 original_working_dir_ = FilePath::GetCurrentDir(); 133 FilePath::GetCurrentDir().c_str()); 140 FilePath original_working_dir_ [all...] |
/external/gtest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 129 original_working_dir_ = FilePath::GetCurrentDir(); 133 FilePath::GetCurrentDir().c_str()); 140 FilePath original_working_dir_ [all...] |
/external/chromium/chrome/browser/profiles/ |
profile_impl_io_data.h | 34 void Init(const FilePath& cookie_path, 35 const FilePath& cache_path, 37 const FilePath& media_cache_path, 39 const FilePath& extensions_cookie_path, 40 const FilePath& app_path); 95 FilePath cookie_path; 96 FilePath cache_path; 98 FilePath media_cache_path; 100 FilePath extensions_cookie_path; 132 FilePath app_path_ [all...] |
/external/chromium/chrome/common/extensions/ |
extension_resource_unittest.cc | 25 const FilePath::StringType ToLower(const FilePath::StringType& in_str) { 26 FilePath::StringType str(in_str); 32 FilePath root_path; 34 FilePath relative_path; 52 FilePath root_resource = temp.path().AppendASCII(filename); 57 FilePath l10n_path = temp.path().Append(Extension::kLocaleFolder); 64 FilePath make_path; 71 FilePath path; 75 FilePath().AppendASCII(filename)) [all...] |
extension_l10n_util.h | 18 class FilePath; 47 bool LocalizeExtension(const FilePath& extension_path, 57 const FilePath& locale_folder, 76 bool GetValidLocales(const FilePath& locale_path, 86 const FilePath& locale_path, 97 bool ShouldSkipValidation(const FilePath& locales_path, 98 const FilePath& locale_path,
|
/external/chromium/chrome/browser/ |
browsing_data_local_storage_helper_browsertest.cc | 27 const FilePath::CharType kTestFile0[] = 30 const FilePath::CharType kTestFile1[] = 33 const FilePath::CharType kTestFileInvalid[] = 37 const FilePath::CharType kTestFileExtension[] = FILE_PATH_LITERAL( 43 FilePath storage_path = GetLocalStoragePathForTestingProfile(); 45 const FilePath::CharType* kFilesToCreate[] = { 49 FilePath file_path = storage_path.Append(kFilesToCreate[i]); 54 FilePath GetLocalStoragePathForTestingProfile() { 55 FilePath storage_path(testing_profile_.GetPath()); 118 GetLocalStoragePathForTestingProfile().Append(FilePath(kTestFile0))) [all...] |
mock_browsing_data_indexed_db_helper.h | 41 virtual void DeleteIndexedDBFile(const FilePath& file_path); 43 FilePath last_deleted_file_; 53 std::map<const FilePath::StringType, bool> files_;
|
mock_browsing_data_local_storage_helper.h | 28 virtual void DeleteLocalStorageFile(const FilePath& file_path); 43 FilePath last_deleted_file_; 53 std::map<const FilePath::StringType, bool> files_;
|
popup_blocker_browsertest.cc | 22 static const FilePath::CharType* kTestDir = FILE_PATH_LITERAL("popup_blocker"); 27 FilePath file_name(FILE_PATH_LITERAL("popup-blocked-to-post-blank.html")); 28 FilePath test_dir(kTestDir);
|
/external/chromium/chrome/browser/history/ |
text_database.h | 71 TextDatabase(const FilePath& path, 90 const FilePath& file_name() const { return file_name_; } 95 static const FilePath::CharType* file_base(); 99 static DBIdent FileNameToID(const FilePath& file_path); 143 static FilePath IDToFileName(DBIdent id); 152 const FilePath path_; 157 FilePath file_name_;
|
/external/chromium/chrome/browser/ui/ |
shell_dialogs.h | 62 virtual void FileSelected(const FilePath& path, 68 const std::vector<FilePath>& files, void* params) {} 97 std::vector<std::vector<FilePath::StringType> > extensions; 134 const FilePath& default_path, 137 const FilePath::StringType& default_extension, 156 const FilePath& default_path, 159 const FilePath::StringType& default_extension,
|
/external/chromium/net/base/ |
mime_util.h | 19 bool GetMimeTypeFromExtension(const FilePath::StringType& ext, 24 NET_EXPORT bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type); 30 FilePath::StringType* extension); 78 void GetImageExtensions(std::vector<FilePath::StringType>* extensions); 83 void GetAudioExtensions(std::vector<FilePath::StringType>* extensions); 88 void GetVideoExtensions(std::vector<FilePath::StringType>* extensions); 96 std::vector<FilePath::StringType>* extensions);
|
platform_mime_util_linux.cc | 14 const FilePath::StringType& ext, std::string* result) const { 22 FilePath dummy_path("foo." + ext); 62 const std::string& mime_type, FilePath::StringType* ext) const {
|
/external/chromium/chrome/browser/diagnostics/ |
sqlite_diagnostics.cc | 29 const FilePath& profile_relative_db_path) 38 FilePath path = GetUserDefaultProfileDir(); 86 FilePath db_path_; 131 FilePath(chrome::kWebDataFilename)); 136 FilePath(chrome::kCookieFilename)); 141 FilePath(chrome::kHistoryFilename)); 146 FilePath(chrome::kArchivedHistoryFilename)); 151 FilePath(chrome::kThumbnailsFilename)); 155 FilePath appcache_dir(chrome::kAppCacheDirname); 156 FilePath appcache_db = appcache_dir.Append(appcache::kAppCacheDatabaseName) [all...] |
/external/chromium/chrome/browser/extensions/ |
autoupdate_interceptor.h | 31 void SetResponse(const std::string url, const FilePath& path); 34 void SetResponseOnIOThread(const std::string url, const FilePath& path); 41 std::map<GURL, FilePath> responses_;
|
/external/chromium/chrome/browser/net/ |
url_fixer_upper.h | 19 class FilePath; 61 GURL FixupRelativeFile(const FilePath& base_dir, const FilePath& text);
|
/external/chromium/net/test/ |
python_utils.cc | 18 void AppendToPythonPath(const FilePath& dir) { 46 bool TryRelativeToDir(const FilePath& start_dir, 47 const FilePath& to_try, 48 FilePath* out_dir) { 49 FilePath dir(start_dir); 51 FilePath parent = dir.DirName(); 64 bool GetPyProtoPath(FilePath* dir) { 66 FilePath generated_code_dir; 72 const FilePath kPyProto(FILE_PATH_LITERAL("pyproto")); 75 FilePath source_dir [all...] |