Searched refs:temp_dir_ (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium/chrome/browser/
H A Dprocess_singleton_mac_unittest.cc28 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
29 lock_path_ = temp_dir_.path().Append(chrome::kSingletonLockFilename);
64 ScopedTempDir temp_dir_; member in class:__anon2213::ProcessSingletonMacTest
70 ProcessSingleton ps(temp_dir_.path());
82 ProcessSingleton ps(temp_dir_.path());
91 ProcessSingleton ps1(temp_dir_.path());
92 ProcessSingleton ps2(temp_dir_.path());
118 ProcessSingleton ps1(temp_dir_.path());
119 ProcessSingleton ps2(temp_dir_.path());
/external/chromium/chrome/browser/net/
H A Dsqlite_persistent_cookie_store_unittest.cc29 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
31 temp_dir_.path().Append(chrome::kCookieFilename));
46 ScopedTempDir temp_dir_; member in class:SQLitePersistentCookieStoreTest
59 temp_dir_.path().Append(chrome::kCookieFilename)));
61 temp_dir_.path().Append(chrome::kCookieFilename), false));
76 temp_dir_.path().Append(chrome::kCookieFilename)));
91 temp_dir_.path().Append(chrome::kCookieFilename));
108 temp_dir_.path().Append(chrome::kCookieFilename));
119 FilePath path = temp_dir_.path().Append(chrome::kCookieFilename);
/external/chromium/chrome/browser/extensions/
H A Dsandboxed_extension_unpacker_unittest.cc58 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
83 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name);
92 temp_dir_.path().AppendASCII("sandboxed_extension_unpacker_test_Temp");
106 temp_dir_.path().AppendASCII(extension_filenames::kTempExtensionName);
108 if (!sandboxed_unpacker_->temp_dir_.Set(temp_dir_.path()))
121 return temp_dir_.path().AppendASCII(
150 ScopedTempDir temp_dir_; member in class:SandboxedExtensionUnpackerTest
H A Dtest_extension_prefs.h30 const FilePath& temp_dir() const { return temp_dir_.path(); }
52 ScopedTempDir temp_dir_; member in class:TestExtensionPrefs
H A Dtest_extension_prefs.cc52 EXPECT_TRUE(temp_dir_.CreateUniqueTempDir());
53 preferences_file_ = temp_dir_.path().AppendASCII("Preferences");
54 extensions_dir_ = temp_dir_.path().AppendASCII("Extensions");
93 temp_dir_.path(),
H A Duser_script_master_unittest.cc33 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
60 ScopedTempDir temp_dir_; member in class:UserScriptMasterTest
76 scoped_refptr<UserScriptMaster> master(new UserScriptMaster(temp_dir_.path(),
88 FilePath path = temp_dir_.path().AppendASCII("script.user.js");
94 scoped_refptr<UserScriptMaster> master(new UserScriptMaster(temp_dir_.path(),
216 FilePath path = temp_dir_.path().AppendASCII("script.user.js");
227 temp_dir_.path(), &script_list);
237 FilePath path = temp_dir_.path().AppendASCII("script.user.js");
249 temp_dir_.path(), &script_list);
H A Dextension_service_unittest.h45 ScopedTempDir temp_dir_; member in class:ExtensionServiceTestBase
H A Dsandboxed_extension_unpacker.cc68 if (!temp_dir_.CreateUniqueTempDirUnderPath(user_data_temp_dir)) {
91 extension_root_ = temp_dir_.path().AppendASCII(
101 FilePath temp_crx_path = temp_dir_.path().Append(crx_path_.BaseName());
160 temp_dir_.Take(),
419 client_->OnUnpackSuccess(temp_dir_.Take(), extension_root_, extension_);
462 if (!ExtensionUnpacker::ReadImagesFromFile(temp_dir_.path(), &images)) {
557 if (!ExtensionUnpacker::ReadMessageCatalogsFromFile(temp_dir_.path(),
/external/chromium/chrome/browser/profiles/
H A Dprofile_manager_unittest.cc42 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
65 ScopedTempDir temp_dir_; member in class:ProfileManagerTest
80 FilePath dest_path = temp_dir_.path();
125 VLOG(1) << temp_dir_.path().Append(
132 FilePath dest_path1 = temp_dir_.path();
135 FilePath dest_path2 = temp_dir_.path();
166 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile"));
184 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile"));
204 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 1"));
206 temp_dir_
[all...]
/external/chromium/app/sql/
H A Dconnection_unittest.cc17 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
18 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLConnectionTest.db")));
28 ScopedTempDir temp_dir_; member in class:SQLConnectionTest
H A Dstatement_unittest.cc45 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
46 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db")));
66 ScopedTempDir temp_dir_; member in class:SQLStatementTest
H A Dtransaction_unittest.cc18 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
20 temp_dir_.path().AppendASCII("SQLTransactionTest.db")));
39 ScopedTempDir temp_dir_; member in class:SQLTransactionTest
/external/chromium/base/
H A Dfile_util_unittest.cc126 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
129 ScopedTempDir temp_dir_; member in class:__anon1499::FileUtilTest
325 temp_dir_.path().Append(FILE_PATH_LITERAL("Old File.txt"));
339 EXPECT_EQ(0, file_util::CountFilesCreatedAfter(temp_dir_.path(), now));
343 temp_dir_.path().Append(FILE_PATH_LITERAL("New File.txt"));
347 EXPECT_EQ(1, file_util::CountFilesCreatedAfter(temp_dir_.path(), now));
351 EXPECT_EQ(0, file_util::CountFilesCreatedAfter(temp_dir_.path(), now));
357 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt"));
363 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2"));
378 int64 computed_size = file_util::ComputeDirectorySize(temp_dir_
[all...]
/external/chromium/chrome/browser/chromeos/login/
H A Dsigned_settings_temp_storage_unittest.cc29 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
32 file_util::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
39 ScopedTempDir temp_dir_; member in class:chromeos::SignedSettingsTempStorageTest
/external/chromium/chrome/browser/importer/
H A Dfirefox_profile_lock_unittest.cc19 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
22 ScopedTempDir temp_dir_; member in class:FirefoxProfileLockTest
26 FirefoxProfileLock lock1(temp_dir_.path());
/external/chromium/chrome/browser/parsers/
H A Dmetadata_parser_filebase_unittest.cc22 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
24 test_file_ = temp_dir_.path().AppendASCII("FileMetaDataParserTest");
48 ScopedTempDir temp_dir_; member in class:__anon2149::FileMetaDataParserTest
/external/chromium/chrome/common/extensions/
H A Dextension_unpacker_unittest.cc31 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
33 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name);
42 ScopedTempDir temp_dir_; member in class:ExtensionUnpackerTest
/external/chromium/chrome/common/
H A Dimportant_file_writer_unittest.cc47 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
48 file_ = temp_dir_.path().AppendASCII("test-file");
56 ScopedTempDir temp_dir_; member in class:ImportantFileWriterTest
H A Djson_pref_store_unittest.cc27 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
35 ScopedTempDir temp_dir_; member in class:JsonPrefStoreTest
57 FilePath invalid_file = temp_dir_.path().AppendASCII("invalid.json");
67 FilePath moved_aside = temp_dir_.path().AppendASCII("invalid.bad");
75 temp_dir_.path().AppendASCII("write.json")));
78 FilePath input_file = temp_dir_.path().AppendASCII("write.json");
H A Dzip_unittest.cc24 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
25 test_dir_ = temp_dir_.path();
84 ScopedTempDir temp_dir_; member in class:__anon2722::ZipTest
/external/chromium/base/files/
H A Dfile_path_watcher_browsertest.cc156 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
165 return temp_dir_.path().AppendASCII("FilePathWatcherTest");
200 ScopedTempDir temp_dir_; member in class:base::files::__anon1507::FilePathWatcherTest
229 FilePath source_file(temp_dir_.path().AppendASCII("source"));
311 FilePath dir(temp_dir_.path().AppendASCII("dir"));
335 FilePath path(temp_dir_.path());
348 FilePath sub_path(temp_dir_.path());
366 FilePath dir(temp_dir_.path().AppendASCII("dir"));
395 FilePath dir(temp_dir_.path().AppendASCII("dir"));
428 FilePath dir(temp_dir_
[all...]
/external/chromium/chrome/browser/download/
H A Dsave_package_unittest.cc102 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
105 temp_dir_.path().AppendASCII("testfile" HTML_EXTENSION),
106 temp_dir_.path().AppendASCII("testfile_files"));
113 kMaxFilePathLength - 9 - temp_dir_.path().value().length());
116 temp_dir_.path().AppendASCII(long_file_name + HTML_EXTENSION),
117 temp_dir_.path().AppendASCII(long_file_name + "_files"));
126 ScopedTempDir temp_dir_; member in class:SavePackageTest
H A Dbase_file_unittest.cc28 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
69 ScopedTempDir temp_dir_; member in class:__anon1923::BaseFileTest
130 FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
197 FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
215 FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
/external/chromium/chrome/browser/prefs/
H A Dpref_service_uitest.cc25 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
26 FilePath tmp_profile = temp_dir_.path().AppendASCII("tmp_profile");
79 ScopedTempDir temp_dir_; member in class:PreferenceServiceTest
/external/chromium/chrome/browser/search_engines/
H A Dtemplate_url_model_test_util.cc75 ScopedTempDir temp_dir_; member in class:TemplateURLModelTestingProfile
111 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
113 FilePath path = temp_dir_.path().AppendASCII("TestDataService.db");

Completed in 266 milliseconds

123