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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/operations/write_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/write_file.h" 5 #include "chrome/browser/chromeos/file_system_provider/operations/write_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 21 matching lines...) Expand all
32 const char kWriteData[] = "Welcome to my world!"; 32 const char kWriteData[] = "Welcome to my world!";
33 const int kOffset = 10; 33 const int kOffset = 10;
34 34
35 } // namespace 35 } // namespace
36 36
37 class FileSystemProviderOperationsWriteFileTest : public testing::Test { 37 class FileSystemProviderOperationsWriteFileTest : public testing::Test {
38 protected: 38 protected:
39 FileSystemProviderOperationsWriteFileTest() {} 39 FileSystemProviderOperationsWriteFileTest() {}
40 virtual ~FileSystemProviderOperationsWriteFileTest() {} 40 virtual ~FileSystemProviderOperationsWriteFileTest() {}
41 41
42 virtual void SetUp() OVERRIDE { 42 virtual void SetUp() override {
43 file_system_info_ = 43 file_system_info_ =
44 ProvidedFileSystemInfo(kExtensionId, 44 ProvidedFileSystemInfo(kExtensionId,
45 kFileSystemId, 45 kFileSystemId,
46 "" /* display_name */, 46 "" /* display_name */,
47 true /* writable */, 47 true /* writable */,
48 base::FilePath() /* mount_path */); 48 base::FilePath() /* mount_path */);
49 io_buffer_ = make_scoped_refptr(new net::StringIOBuffer(kWriteData)); 49 io_buffer_ = make_scoped_refptr(new net::StringIOBuffer(kWriteData));
50 } 50 }
51 51
52 ProvidedFileSystemInfo file_system_info_; 52 ProvidedFileSystemInfo file_system_info_;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 scoped_ptr<RequestValue>(new RequestValue()), 180 scoped_ptr<RequestValue>(new RequestValue()),
181 base::File::FILE_ERROR_TOO_MANY_OPENED); 181 base::File::FILE_ERROR_TOO_MANY_OPENED);
182 182
183 ASSERT_EQ(1u, callback_log.size()); 183 ASSERT_EQ(1u, callback_log.size());
184 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, callback_log[0]); 184 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, callback_log[0]);
185 } 185 }
186 186
187 } // namespace operations 187 } // namespace operations
188 } // namespace file_system_provider 188 } // namespace file_system_provider
189 } // namespace chromeos 189 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698