Searched refs:uniquifier (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/chrome/browser/download/ |
D | download_path_reservation_tracker.cc | 217 for (int uniquifier = 1; in CreateReservation() local 218 uniquifier <= DownloadPathReservationTracker::kMaxUniqueFiles; in CreateReservation() 219 ++uniquifier) { in CreateReservation() 221 std::string suffix(base::StringPrintf(" (%d)", uniquifier)); in CreateReservation()
|
/external/chromium/chrome/browser/download/ |
D | download_file_manager.cc | 349 int uniquifier = 0; in RenameCompletingDownloadFile() local 359 uniquifier = download_util::GetUniquePathNumber(new_path); in RenameCompletingDownloadFile() 360 if (uniquifier > 0) { in RenameCompletingDownloadFile() 361 download_util::AppendNumberToPath(&new_path, uniquifier); in RenameCompletingDownloadFile() 383 new_path, uniquifier)); in RenameCompletingDownloadFile()
|
D | download_item.h | 246 void set_path_uniquifier(int uniquifier) { path_uniquifier_ = uniquifier; } in set_path_uniquifier() argument
|
D | download_manager_unittest.cc | 542 int uniquifier = download_util::GetUniquePathNumber(new_path); in TEST_F() local 544 EXPECT_NE(0, uniquifier); in TEST_F() 545 download_util::AppendNumberToPath(&unique_new_path, uniquifier); in TEST_F()
|
D | download_manager.cc | 666 int uniquifier) { in OnDownloadRenamedToFinalName() argument 669 << " uniquifier = " << uniquifier; in OnDownloadRenamedToFinalName() 677 DCHECK_EQ(0, uniquifier) << "We should not uniquify SAFE downloads twice"; in OnDownloadRenamedToFinalName() 685 if (uniquifier) in OnDownloadRenamedToFinalName() 686 item->set_path_uniquifier(uniquifier); in OnDownloadRenamedToFinalName()
|
D | download_manager.h | 148 int uniquifier);
|
/external/chromium_org/content/browser/download/ |
D | download_file_impl.cc | 113 int uniquifier = file_util::GetUniquePathNumber( in RenameAndUniquify() local 115 if (uniquifier > 0) { in RenameAndUniquify() 117 base::StringPrintf(" (%d)", uniquifier)); in RenameAndUniquify()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | drive_integration_service.cc | 141 for (int uniquifier = 1; base::PathExists(dest_directory); ++uniquifier) { in InitializeMetadata() local 144 .InsertBeforeExtensionASCII(base::StringPrintf(" (%d)", uniquifier)); in InitializeMetadata()
|
/external/chromium_org/base/ |
D | file_util_posix.cc | 732 int uniquifier = in MakeUniqueDirectory() local 734 if (uniquifier < 0) in MakeUniqueDirectory() 736 base::FilePath test_path = (uniquifier == 0) ? path : in MakeUniqueDirectory() 738 base::StringPrintf(" (%d)", uniquifier)); in MakeUniqueDirectory()
|
/external/chromium_org/chrome/browser/extensions/ |
D | webstore_installer.cc | 129 int uniquifier = in GetDownloadFilePath() local 131 if (uniquifier > 0) { in GetDownloadFilePath() 133 base::StringPrintf(" (%d)", uniquifier)); in GetDownloadFilePath()
|