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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKER_H _ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKER_H _
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKER_H _ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKER_H _
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/sequence_checker.h" 10 #include "base/sequence_checker.h"
(...skipping 21 matching lines...) Expand all
32 base::SequencedTaskRunner* worker_task_runner); 32 base::SequencedTaskRunner* worker_task_runner);
33 virtual ~DriveUploaderOnWorker(); 33 virtual ~DriveUploaderOnWorker();
34 34
35 virtual google_apis::CancelCallback UploadNewFile( 35 virtual google_apis::CancelCallback UploadNewFile(
36 const std::string& parent_resource_id, 36 const std::string& parent_resource_id,
37 const base::FilePath& local_file_path, 37 const base::FilePath& local_file_path,
38 const std::string& title, 38 const std::string& title,
39 const std::string& content_type, 39 const std::string& content_type,
40 const UploadNewFileOptions& options, 40 const UploadNewFileOptions& options,
41 const drive::UploadCompletionCallback& callback, 41 const drive::UploadCompletionCallback& callback,
42 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 42 const google_apis::ProgressCallback& progress_callback) override;
43 43
44 virtual google_apis::CancelCallback UploadExistingFile( 44 virtual google_apis::CancelCallback UploadExistingFile(
45 const std::string& resource_id, 45 const std::string& resource_id,
46 const base::FilePath& local_file_path, 46 const base::FilePath& local_file_path,
47 const std::string& content_type, 47 const std::string& content_type,
48 const UploadExistingFileOptions& options, 48 const UploadExistingFileOptions& options,
49 const drive::UploadCompletionCallback& callback, 49 const drive::UploadCompletionCallback& callback,
50 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 50 const google_apis::ProgressCallback& progress_callback) override;
51 51
52 // Following method is expected not to be used. 52 // Following method is expected not to be used.
53 virtual google_apis::CancelCallback ResumeUploadFile( 53 virtual google_apis::CancelCallback ResumeUploadFile(
54 const GURL& upload_location, 54 const GURL& upload_location,
55 const base::FilePath& local_file_path, 55 const base::FilePath& local_file_path,
56 const std::string& content_type, 56 const std::string& content_type,
57 const drive::UploadCompletionCallback& callback, 57 const drive::UploadCompletionCallback& callback,
58 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 58 const google_apis::ProgressCallback& progress_callback) override;
59 59
60 private: 60 private:
61 base::WeakPtr<DriveUploaderWrapper> wrapper_; 61 base::WeakPtr<DriveUploaderWrapper> wrapper_;
62 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; 62 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
63 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_; 63 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_;
64 64
65 base::SequenceChecker sequece_checker_; 65 base::SequenceChecker sequece_checker_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(DriveUploaderOnWorker); 67 DISALLOW_COPY_AND_ASSIGN(DriveUploaderOnWorker);
68 }; 68 };
69 69
70 } // namespace drive_backend 70 } // namespace drive_backend
71 } // namespace sync_file_system 71 } // namespace sync_file_system
72 72
73 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKE R_H_ 73 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_ON_WORKE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698