OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DRIVE_DRIVE_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_UPLOADER_H_ |
6 #define CHROME_BROWSER_DRIVE_DRIVE_UPLOADER_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_UPLOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/drive/drive_service_interface.h" | 14 #include "chrome/browser/drive/drive_service_interface.h" |
15 #include "chrome/browser/google_apis/gdata_errorcode.h" | 15 #include "google_apis/drive/gdata_errorcode.h" |
16 #include "chrome/browser/google_apis/gdata_wapi_parser.h" | 16 #include "google_apis/drive/gdata_wapi_parser.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class FilePath; | 21 class FilePath; |
22 class TaskRunner; | 22 class TaskRunner; |
23 } | 23 } |
24 | 24 |
25 namespace google_apis { | 25 namespace google_apis { |
26 struct UploadRangeResponse; | 26 struct UploadRangeResponse; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 // Note: This should remain the last member so it'll be destroyed and | 198 // Note: This should remain the last member so it'll be destroyed and |
199 // invalidate its weak pointers before any other members are destroyed. | 199 // invalidate its weak pointers before any other members are destroyed. |
200 base::WeakPtrFactory<DriveUploader> weak_ptr_factory_; | 200 base::WeakPtrFactory<DriveUploader> weak_ptr_factory_; |
201 DISALLOW_COPY_AND_ASSIGN(DriveUploader); | 201 DISALLOW_COPY_AND_ASSIGN(DriveUploader); |
202 }; | 202 }; |
203 | 203 |
204 } // namespace drive | 204 } // namespace drive |
205 | 205 |
206 #endif // CHROME_BROWSER_DRIVE_DRIVE_UPLOADER_H_ | 206 #endif // CHROME_BROWSER_DRIVE_DRIVE_UPLOADER_H_ |
OLD | NEW |