| Index: content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc
|
| diff --git a/content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc b/content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc
|
| index 3b79b186a1682f93f33e9c60b4375acbea6a6aca..2cb99114f3407474e4a12a95f491f7d6474203b2 100644
|
| --- a/content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc
|
| +++ b/content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc
|
| @@ -56,7 +56,7 @@ class TestValidatorFactory : public storage::CopyOrMoveFileValidatorFactory {
|
|
|
| virtual storage::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
|
| const FileSystemURL& /*src_url*/,
|
| - const base::FilePath& /*platform_path*/) OVERRIDE {
|
| + const base::FilePath& /*platform_path*/) override {
|
| // Move arg management to TestValidator?
|
| return new TestValidator(true, true, std::string("2"));
|
| }
|
| @@ -76,7 +76,7 @@ class TestValidatorFactory : public storage::CopyOrMoveFileValidatorFactory {
|
| virtual ~TestValidator() {}
|
|
|
| virtual void StartPreWriteValidation(
|
| - const ResultCallback& result_callback) OVERRIDE {
|
| + const ResultCallback& result_callback) override {
|
| // Post the result since a real validator must do work asynchronously.
|
| base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(result_callback, result_));
|
| @@ -84,7 +84,7 @@ class TestValidatorFactory : public storage::CopyOrMoveFileValidatorFactory {
|
|
|
| virtual void StartPostWriteValidation(
|
| const base::FilePath& dest_platform_path,
|
| - const ResultCallback& result_callback) OVERRIDE {
|
| + const ResultCallback& result_callback) override {
|
| base::File::Error result = write_result_;
|
| std::string unsafe = dest_platform_path.BaseName().AsUTF8Unsafe();
|
| if (unsafe.find(reject_string_) != std::string::npos) {
|
|
|