Chromium Code Reviews| 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_PARAMS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 9 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/platform_file.h" | 18 #include "base/platform_file.h" |
| 19 #include "base/values.h" | 19 #include "base/values.h" |
| 20 #include "chrome/browser/chromeos/gdata/gdata_parser.h" | |
| 21 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" | 20 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" |
| 21 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" | |
|
hashimoto
2012/07/11 06:03:08
Is this include needed?
kochi
2012/07/11 06:26:32
Removed.
(instead, we had to include it in gdata_
| |
| 22 #include "googleurl/src/gurl.h" | |
| 22 #include "net/base/io_buffer.h" | 23 #include "net/base/io_buffer.h" |
| 23 #include "googleurl/src/gurl.h" | |
| 24 | 24 |
| 25 namespace gdata { | 25 namespace gdata { |
| 26 | 26 |
| 27 class GDataEntry; | 27 class GDataEntry; |
| 28 | 28 |
| 29 // Struct for response to ResumeUpload. | 29 // Struct for response to ResumeUpload. |
| 30 struct ResumeUploadResponse { | 30 struct ResumeUploadResponse { |
| 31 ResumeUploadResponse(GDataErrorCode code, | 31 ResumeUploadResponse(GDataErrorCode code, |
| 32 int64 start_range_received, | 32 int64 start_range_received, |
| 33 int64 end_range_received); | 33 int64 end_range_received); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 scoped_ptr<gdata::DocumentEntry> new_entry)> ResumeUploadCallback; | 129 scoped_ptr<gdata::DocumentEntry> new_entry)> ResumeUploadCallback; |
| 130 | 130 |
| 131 // Callback type used to get result of file search. | 131 // Callback type used to get result of file search. |
| 132 // If |error| is not PLATFORM_FILE_OK, |entry| is set to NULL. | 132 // If |error| is not PLATFORM_FILE_OK, |entry| is set to NULL. |
| 133 typedef base::Callback<void(base::PlatformFileError error, GDataEntry* entry)> | 133 typedef base::Callback<void(base::PlatformFileError error, GDataEntry* entry)> |
| 134 FindEntryCallback; | 134 FindEntryCallback; |
| 135 | 135 |
| 136 } // namespace gdata | 136 } // namespace gdata |
| 137 | 137 |
| 138 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ | 138 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARAMS_H_ |
| OLD | NEW |