Searched refs:uniquifier (Results 1 – 5 of 5) sorted by relevance
349 int uniquifier = 0; in RenameCompletingDownloadFile() local359 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()
246 void set_path_uniquifier(int uniquifier) { path_uniquifier_ = uniquifier; } in set_path_uniquifier() argument
542 int uniquifier = download_util::GetUniquePathNumber(new_path); in TEST_F() local544 EXPECT_NE(0, uniquifier); in TEST_F()545 download_util::AppendNumberToPath(&unique_new_path, uniquifier); in TEST_F()
666 int uniquifier) { in OnDownloadRenamedToFinalName() argument669 << " 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()
148 int uniquifier);