| Index: chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc b/chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
|
| index 4f80a4058192338f755947a01a2b3172235e42f2..b831d065de0c818fdde3060294a6c72e57365ac7 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
|
| @@ -33,6 +33,7 @@ namespace file_system_provider {
|
| namespace {
|
|
|
| const char kExtensionId[] = "mbflcebpggnecokmikipoihdbecnjfoj";
|
| +const char kFileSystemId[] = "testing-file-system";
|
|
|
| // Logs callbacks invocations on the tested operations.
|
| // TODO(mtomasz): Store and verify more arguments, once the operations return
|
| @@ -139,11 +140,11 @@ class FileSystemProviderProviderAsyncFileUtilTest : public testing::Test {
|
| service->SetFileSystemFactoryForTests(
|
| base::Bind(&FakeProvidedFileSystem::Create));
|
|
|
| - const int file_system_id =
|
| - service->MountFileSystem(kExtensionId, "testing-file-system");
|
| - ASSERT_LT(0, file_system_id);
|
| + const bool result = service->MountFileSystem(
|
| + kExtensionId, kFileSystemId, "Testing File System");
|
| + ASSERT_TRUE(result);
|
| const ProvidedFileSystemInfo& file_system_info =
|
| - service->GetProvidedFileSystem(kExtensionId, file_system_id)
|
| + service->GetProvidedFileSystem(kExtensionId, kFileSystemId)
|
| ->GetFileSystemInfo();
|
| const std::string mount_point_name =
|
| file_system_info.mount_path().BaseName().AsUTF8Unsafe();
|
|
|