diff options
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/download/download_file_impl.cc | 2 | ||||
-rw-r--r-- | content/browser/indexed_db/indexed_db_backing_store.cc | 2 | ||||
-rw-r--r-- | content/browser/indexed_db/indexed_db_factory_unittest.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc index 1d188c0..0efd0a2 100644 --- a/content/browser/download/download_file_impl.cc +++ b/content/browser/download/download_file_impl.cc @@ -110,7 +110,7 @@ void DownloadFileImpl::RenameAndUniquify( base::FilePath new_path(full_path); - int uniquifier = file_util::GetUniquePathNumber( + int uniquifier = base::GetUniquePathNumber( new_path, base::FilePath::StringType()); if (uniquifier > 0) { new_path = new_path.InsertBeforeExtensionASCII( diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc index ffd99e2..be909b4 100644 --- a/content/browser/indexed_db/indexed_db_backing_store.cc +++ b/content/browser/indexed_db/indexed_db_backing_store.cc @@ -484,7 +484,7 @@ static void HistogramOpenStatus(IndexedDBBackingStoreOpenResult result, } static bool IsPathTooLong(const base::FilePath& leveldb_dir) { - int limit = file_util::GetMaximumPathComponentLength(leveldb_dir.DirName()); + int limit = base::GetMaximumPathComponentLength(leveldb_dir.DirName()); if (limit == -1) { DLOG(WARNING) << "GetMaximumPathComponentLength returned -1"; // In limited testing, ChromeOS returns 143, other OSes 255. diff --git a/content/browser/indexed_db/indexed_db_factory_unittest.cc b/content/browser/indexed_db/indexed_db_factory_unittest.cc index a7c4fe7..ef045e5 100644 --- a/content/browser/indexed_db/indexed_db_factory_unittest.cc +++ b/content/browser/indexed_db/indexed_db_factory_unittest.cc @@ -163,7 +163,7 @@ TEST_F(IndexedDBFactoryTest, RejectLongOrigins) { const base::FilePath base_path = temp_directory.path(); scoped_refptr<MockIDBFactory> factory = new MockIDBFactory(); - int limit = file_util::GetMaximumPathComponentLength(base_path); + int limit = base::GetMaximumPathComponentLength(base_path); EXPECT_GT(limit, 0); std::string origin(limit + 1, 'x'); |