| 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_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/chromeos/gdata/drive_upload_mode.h" | 13 #include "chrome/browser/google_apis/drive_upload_mode.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" | |
| 15 #include "chrome/browser/google_apis/gdata_errorcode.h" | 14 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 15 #include "chrome/browser/google_apis/gdata_wapi_parser.h" |
| 16 #include "net/base/file_stream.h" | 16 #include "net/base/file_stream.h" |
| 17 | 17 |
| 18 class GURL; | 18 class GURL; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class DownloadItem; | 21 class DownloadItem; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace gdata { | 24 namespace gdata { |
| 25 | 25 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // Note: This should remain the last member so it'll be destroyed and | 237 // Note: This should remain the last member so it'll be destroyed and |
| 238 // invalidate its weak pointers before any other members are destroyed. | 238 // invalidate its weak pointers before any other members are destroyed. |
| 239 base::WeakPtrFactory<DriveUploader> weak_ptr_factory_; | 239 base::WeakPtrFactory<DriveUploader> weak_ptr_factory_; |
| 240 | 240 |
| 241 DISALLOW_COPY_AND_ASSIGN(DriveUploader); | 241 DISALLOW_COPY_AND_ASSIGN(DriveUploader); |
| 242 }; | 242 }; |
| 243 | 243 |
| 244 } // namespace gdata | 244 } // namespace gdata |
| 245 | 245 |
| 246 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ | 246 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOADER_H_ |
| OLD | NEW |