Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/drive/file_system/download_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/download_operation.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/task_runner_util.h" 8 #include "base/task_runner_util.h"
9 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" 9 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h"
10 #include "chrome/browser/chromeos/drive/file_cache.h" 10 #include "chrome/browser/chromeos/drive/file_cache.h"
11 #include "chrome/browser/chromeos/drive/file_change.h" 11 #include "chrome/browser/chromeos/drive/file_change.h"
12 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" 12 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h"
13 #include "chrome/browser/chromeos/drive/file_system_util.h" 13 #include "chrome/browser/chromeos/drive/file_system_util.h"
14 #include "chrome/browser/chromeos/drive/job_scheduler.h" 14 #include "chrome/browser/chromeos/drive/job_scheduler.h"
15 #include "chrome/browser/drive/fake_drive_service.h" 15 #include "chrome/browser/drive/fake_drive_service.h"
16 #include "content/public/test/test_utils.h" 16 #include "content/public/test/test_utils.h"
17 #include "google_apis/drive/test_util.h" 17 #include "google_apis/drive/test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/cros_system_api/constants/cryptohome.h" 19 #include "third_party/cros_system_api/constants/cryptohome.h"
20 20
21 namespace drive { 21 namespace drive {
22 namespace file_system { 22 namespace file_system {
23 23
24 class DownloadOperationTest : public OperationTestBase { 24 class DownloadOperationTest : public OperationTestBase {
25 protected: 25 protected:
26 virtual void SetUp() OVERRIDE { 26 virtual void SetUp() override {
27 OperationTestBase::SetUp(); 27 OperationTestBase::SetUp();
28 28
29 operation_.reset(new DownloadOperation( 29 operation_.reset(new DownloadOperation(
30 blocking_task_runner(), delegate(), scheduler(), metadata(), cache(), 30 blocking_task_runner(), delegate(), scheduler(), metadata(), cache(),
31 temp_dir())); 31 temp_dir()));
32 } 32 }
33 33
34 scoped_ptr<DownloadOperation> operation_; 34 scoped_ptr<DownloadOperation> operation_;
35 }; 35 };
36 36
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 // Cancel immediately. 496 // Cancel immediately.
497 ASSERT_FALSE(cancel_closure.is_null()); 497 ASSERT_FALSE(cancel_closure.is_null());
498 cancel_closure.Run(); 498 cancel_closure.Run();
499 content::RunAllBlockingPoolTasksUntilIdle(); 499 content::RunAllBlockingPoolTasksUntilIdle();
500 500
501 EXPECT_EQ(FILE_ERROR_ABORT, error); 501 EXPECT_EQ(FILE_ERROR_ABORT, error);
502 } 502 }
503 503
504 } // namespace file_system 504 } // namespace file_system
505 } // namespace drive 505 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698