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_GDATA_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_UPLOADER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_UPLOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_UPLOADER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
15 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 15 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
16 #include "chrome/browser/chromeos/gdata/gdata_params.h" | 16 #include "chrome/browser/chromeos/gdata/gdata_operations_callback.h" |
17 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" | 17 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
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 |
26 class DocumentsServiceInterface; | 26 class DocumentsServiceInterface; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Note: This should remain the last member so it'll be destroyed and | 137 // Note: This should remain the last member so it'll be destroyed and |
138 // invalidate its weak pointers before any other members are destroyed. | 138 // invalidate its weak pointers before any other members are destroyed. |
139 base::WeakPtrFactory<GDataUploader> weak_ptr_factory_; | 139 base::WeakPtrFactory<GDataUploader> weak_ptr_factory_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(GDataUploader); | 141 DISALLOW_COPY_AND_ASSIGN(GDataUploader); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace gdata | 144 } // namespace gdata |
145 | 145 |
146 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_UPLOADER_H_ | 146 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_UPLOADER_H_ |
OLD | NEW |