Home
last modified time | relevance | path

Searched refs:uniquifier (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_file_manager.cc349 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()
Ddownload_item.h246 void set_path_uniquifier(int uniquifier) { path_uniquifier_ = uniquifier; } in set_path_uniquifier() argument
Ddownload_manager_unittest.cc542 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()
Ddownload_manager.cc666 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()
Ddownload_manager.h148 int uniquifier);