| 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_TASK_EXECUTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_TASK_EXECUTOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_TASK_EXECUTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_TASK_EXECUTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 void OnFileEntryFetched(DriveFileError error, | 39 void OnFileEntryFetched(DriveFileError error, |
| 40 scoped_ptr<DriveEntryProto> entry_proto); | 40 scoped_ptr<DriveEntryProto> entry_proto); |
| 41 void OnAppAuthorized(const std::string& resource_id, | 41 void OnAppAuthorized(const std::string& resource_id, |
| 42 GDataErrorCode error, | 42 GDataErrorCode error, |
| 43 scoped_ptr<base::Value> feed_data); | 43 scoped_ptr<base::Value> feed_data); |
| 44 | 44 |
| 45 // Calls |done_| with |success| status. | 45 // Calls |done_| with |success| status. |
| 46 void Done(bool success); | 46 void Done(bool success); |
| 47 | 47 |
| 48 const GURL source_url_; | 48 const GURL source_url_; |
| 49 std::string app_id_; | |
| 50 const std::string action_id_; | 49 const std::string action_id_; |
| 51 int current_index_; | 50 int current_index_; |
| 52 file_handler_util::FileTaskFinishedCallback done_; | 51 file_handler_util::FileTaskFinishedCallback done_; |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 } // namespace gdata | 54 } // namespace gdata |
| 56 | 55 |
| 57 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_TASK_EXECUTOR_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_TASK_EXECUTOR_H_ |
| OLD | NEW |