| Index: chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc
|
| index 12d0073d6cd120641cf92e5d5e3e461458d809d8..c11101b97b267405bbfc5d5e3ee960327c5408af 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc
|
| @@ -23,7 +23,7 @@ namespace operations {
|
| namespace {
|
|
|
| const char kExtensionId[] = "mbflcebpggnecokmikipoihdbecnjfoj";
|
| -const int kFileSystemId = 1;
|
| +const char kFileSystemId[] = "testing-file-system";
|
| const int kRequestId = 2;
|
| const int kOpenRequestId = 3;
|
|
|
| @@ -111,8 +111,8 @@ TEST_F(FileSystemProviderOperationsCloseFileTest, Execute) {
|
| base::ListValue* event_args = event->event_args.get();
|
| ASSERT_EQ(3u, event_args->GetSize());
|
|
|
| - int event_file_system_id = -1;
|
| - EXPECT_TRUE(event_args->GetInteger(0, &event_file_system_id));
|
| + std::string event_file_system_id;
|
| + EXPECT_TRUE(event_args->GetString(0, &event_file_system_id));
|
| EXPECT_EQ(kFileSystemId, event_file_system_id);
|
|
|
| int event_request_id = -1;
|
| @@ -141,7 +141,6 @@ TEST_F(FileSystemProviderOperationsCloseFileTest, Execute_NoListener) {
|
| }
|
|
|
| TEST_F(FileSystemProviderOperationsCloseFileTest, OnSuccess) {
|
| - using extensions::api::file_system_provider::EntryMetadata;
|
| using extensions::api::file_system_provider_internal::
|
| CloseFileRequestedSuccess::Params;
|
|
|
| @@ -167,7 +166,6 @@ TEST_F(FileSystemProviderOperationsCloseFileTest, OnSuccess) {
|
| }
|
|
|
| TEST_F(FileSystemProviderOperationsCloseFileTest, OnError) {
|
| - using extensions::api::file_system_provider::EntryMetadata;
|
| using extensions::api::file_system_provider_internal::
|
| CloseFileRequestedError::Params;
|
|
|
|
|