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

Side by Side Diff: chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h

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 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h" 9 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h"
10 10
(...skipping 17 matching lines...) Expand all
28 // This is delegate interface to inject the MTP device file system in Chrome OS 28 // This is delegate interface to inject the MTP device file system in Chrome OS
29 // file API backend. 29 // file API backend.
30 class MTPFileSystemBackendDelegate : public FileSystemBackendDelegate { 30 class MTPFileSystemBackendDelegate : public FileSystemBackendDelegate {
31 public: 31 public:
32 explicit MTPFileSystemBackendDelegate( 32 explicit MTPFileSystemBackendDelegate(
33 const base::FilePath& storage_partition_path); 33 const base::FilePath& storage_partition_path);
34 virtual ~MTPFileSystemBackendDelegate(); 34 virtual ~MTPFileSystemBackendDelegate();
35 35
36 // FileSystemBackendDelegate overrides. 36 // FileSystemBackendDelegate overrides.
37 virtual storage::AsyncFileUtil* GetAsyncFileUtil( 37 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
38 storage::FileSystemType type) OVERRIDE; 38 storage::FileSystemType type) override;
39 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( 39 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
40 const storage::FileSystemURL& url, 40 const storage::FileSystemURL& url,
41 int64 offset, 41 int64 offset,
42 int64 max_bytes_to_read, 42 int64 max_bytes_to_read,
43 const base::Time& expected_modification_time, 43 const base::Time& expected_modification_time,
44 storage::FileSystemContext* context) OVERRIDE; 44 storage::FileSystemContext* context) override;
45 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( 45 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
46 const storage::FileSystemURL& url, 46 const storage::FileSystemURL& url,
47 int64 offset, 47 int64 offset,
48 storage::FileSystemContext* context) OVERRIDE; 48 storage::FileSystemContext* context) override;
49 virtual storage::WatcherManager* GetWatcherManager( 49 virtual storage::WatcherManager* GetWatcherManager(
50 const storage::FileSystemURL& url) OVERRIDE; 50 const storage::FileSystemURL& url) override;
51 virtual void GetRedirectURLForContents( 51 virtual void GetRedirectURLForContents(
52 const storage::FileSystemURL& url, 52 const storage::FileSystemURL& url,
53 const storage::URLCallback& callback) OVERRIDE; 53 const storage::URLCallback& callback) override;
54 54
55 private: 55 private:
56 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; 56 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(MTPFileSystemBackendDelegate); 58 DISALLOW_COPY_AND_ASSIGN(MTPFileSystemBackendDelegate);
59 }; 59 };
60 60
61 } // namespace chromeos 61 } // namespace chromeos
62 62
63 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_ 63 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_FILE_SYSTEM_BACKEND_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698