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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/operations/read_file_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/file_system_provider/operations/read_file.h" 5 #include "chrome/browser/chromeos/file_system_provider/operations/read_file.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file.h" 9 #include "base/files/file.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 DISALLOW_COPY_AND_ASSIGN(CallbackLogger); 69 DISALLOW_COPY_AND_ASSIGN(CallbackLogger);
70 }; 70 };
71 71
72 } // namespace 72 } // namespace
73 73
74 class FileSystemProviderOperationsReadFileTest : public testing::Test { 74 class FileSystemProviderOperationsReadFileTest : public testing::Test {
75 protected: 75 protected:
76 FileSystemProviderOperationsReadFileTest() {} 76 FileSystemProviderOperationsReadFileTest() {}
77 virtual ~FileSystemProviderOperationsReadFileTest() {} 77 virtual ~FileSystemProviderOperationsReadFileTest() {}
78 78
79 virtual void SetUp() OVERRIDE { 79 virtual void SetUp() override {
80 file_system_info_ = 80 file_system_info_ =
81 ProvidedFileSystemInfo(kExtensionId, 81 ProvidedFileSystemInfo(kExtensionId,
82 kFileSystemId, 82 kFileSystemId,
83 "" /* display_name */, 83 "" /* display_name */,
84 false /* writable */, 84 false /* writable */,
85 base::FilePath() /* mount_path */); 85 base::FilePath() /* mount_path */);
86 io_buffer_ = make_scoped_refptr(new net::IOBuffer(kOffset + kLength)); 86 io_buffer_ = make_scoped_refptr(new net::IOBuffer(kOffset + kLength));
87 } 87 }
88 88
89 ProvidedFileSystemInfo file_system_info_; 89 ProvidedFileSystemInfo file_system_info_;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 base::File::FILE_ERROR_TOO_MANY_OPENED); 221 base::File::FILE_ERROR_TOO_MANY_OPENED);
222 222
223 ASSERT_EQ(1u, callback_logger.events().size()); 223 ASSERT_EQ(1u, callback_logger.events().size());
224 CallbackLogger::Event* event = callback_logger.events()[0]; 224 CallbackLogger::Event* event = callback_logger.events()[0];
225 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, event->result()); 225 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, event->result());
226 } 226 }
227 227
228 } // namespace operations 228 } // namespace operations
229 } // namespace file_system_provider 229 } // namespace file_system_provider
230 } // namespace chromeos 230 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698