Commit 06f88a7d authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

White space DriveTestVolume CreateDirectory/CreateFile

Minor: the code is similar but was not formatted the same way. Make it
formatted the same way for the reader's sake.

Bug: 833834
Change-Id: I68f8b3b46f7d02c988e59887d1dc30f1284cbb34
Reviewed-on: https://chromium-review.googlesource.com/1042325Reviewed-by: default avatarStuart Langley <slangley@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555896}
parent 274542fe
...@@ -422,6 +422,7 @@ class DriveTestVolume : public TestVolume { ...@@ -422,6 +422,7 @@ class DriveTestVolume : public TestVolume {
const std::string& target_name, const std::string& target_name,
const base::Time& modification_time) { const base::Time& modification_time) {
google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR; google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
std::unique_ptr<google_apis::FileResource> entry; std::unique_ptr<google_apis::FileResource> entry;
fake_drive_service_->AddNewDirectory( fake_drive_service_->AddNewDirectory(
parent_id, target_name, drive::AddNewDirectoryOptions(), parent_id, target_name, drive::AddNewDirectoryOptions(),
...@@ -436,6 +437,7 @@ class DriveTestVolume : public TestVolume { ...@@ -436,6 +437,7 @@ class DriveTestVolume : public TestVolume {
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
ASSERT_TRUE(error == google_apis::HTTP_SUCCESS); ASSERT_TRUE(error == google_apis::HTTP_SUCCESS);
ASSERT_TRUE(entry); ASSERT_TRUE(entry);
CheckForUpdates(); CheckForUpdates();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment