OLD | NEW |
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_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_WRAPPER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_WRAPPER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_WRAPPER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/sequence_checker.h" | 10 #include "base/sequence_checker.h" |
10 #include "components/drive/drive_uploader.h" | 11 #include "components/drive/drive_uploader.h" |
11 | 12 |
12 namespace sync_file_system { | 13 namespace sync_file_system { |
13 namespace drive_backend { | 14 namespace drive_backend { |
14 | 15 |
15 // This class wraps a part of DriveUploaderInterface class to support weak | 16 // This class wraps a part of DriveUploaderInterface class to support weak |
16 // pointer. Each method wraps corresponding name method of | 17 // pointer. Each method wraps corresponding name method of |
17 // DriveUploaderInterface. See comments in drive_uploader_interface.h | 18 // DriveUploaderInterface. See comments in drive_uploader_interface.h |
(...skipping 20 matching lines...) Expand all Loading... |
38 drive::DriveUploaderInterface* drive_uploader_; | 39 drive::DriveUploaderInterface* drive_uploader_; |
39 base::SequenceChecker sequence_checker_; | 40 base::SequenceChecker sequence_checker_; |
40 | 41 |
41 DISALLOW_COPY_AND_ASSIGN(DriveUploaderWrapper); | 42 DISALLOW_COPY_AND_ASSIGN(DriveUploaderWrapper); |
42 }; | 43 }; |
43 | 44 |
44 } // namespace drive_backend | 45 } // namespace drive_backend |
45 } // namespace sync_file_system | 46 } // namespace sync_file_system |
46 | 47 |
47 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_WRAPPER_
H_ | 48 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_UPLOADER_WRAPPER_
H_ |
OLD | NEW |