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_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "chrome/browser/google_apis/drive_service_interface.h" | 8 #include "chrome/browser/google_apis/drive_service_interface.h" |
9 | 9 |
10 namespace google_apis { | 10 namespace google_apis { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const EntryActionCallback& callback) OVERRIDE; | 64 const EntryActionCallback& callback) OVERRIDE; |
65 virtual void RemoveResourceFromDirectory( | 65 virtual void RemoveResourceFromDirectory( |
66 const std::string& parent_resource_id, | 66 const std::string& parent_resource_id, |
67 const std::string& resource_id, | 67 const std::string& resource_id, |
68 const EntryActionCallback& callback) OVERRIDE; | 68 const EntryActionCallback& callback) OVERRIDE; |
69 virtual void AddNewDirectory( | 69 virtual void AddNewDirectory( |
70 const std::string& parent_resource_id, | 70 const std::string& parent_resource_id, |
71 const std::string& directory_name, | 71 const std::string& directory_name, |
72 const GetResourceEntryCallback& callback) OVERRIDE; | 72 const GetResourceEntryCallback& callback) OVERRIDE; |
73 virtual void InitiateUploadNewFile( | 73 virtual void InitiateUploadNewFile( |
74 const FilePath& drive_file_path, | 74 const base::FilePath& drive_file_path, |
75 const std::string& content_type, | 75 const std::string& content_type, |
76 int64 content_length, | 76 int64 content_length, |
77 const GURL& parent_upload_url, | 77 const GURL& parent_upload_url, |
78 const std::string& title, | 78 const std::string& title, |
79 const InitiateUploadCallback& callback) OVERRIDE; | 79 const InitiateUploadCallback& callback) OVERRIDE; |
80 virtual void InitiateUploadExistingFile( | 80 virtual void InitiateUploadExistingFile( |
81 const FilePath& drive_file_path, | 81 const base::FilePath& drive_file_path, |
82 const std::string& content_type, | 82 const std::string& content_type, |
83 int64 content_length, | 83 int64 content_length, |
84 const GURL& upload_url, | 84 const GURL& upload_url, |
85 const std::string& etag, | 85 const std::string& etag, |
86 const InitiateUploadCallback& callback) OVERRIDE; | 86 const InitiateUploadCallback& callback) OVERRIDE; |
87 virtual void ResumeUpload(const ResumeUploadParams& params, | 87 virtual void ResumeUpload(const ResumeUploadParams& params, |
88 const UploadRangeCallback& callback) OVERRIDE; | 88 const UploadRangeCallback& callback) OVERRIDE; |
89 virtual void GetUploadStatus( | 89 virtual void GetUploadStatus( |
90 UploadMode upload_mode, | 90 UploadMode upload_mode, |
91 const base::FilePath& drive_file_path, | 91 const base::FilePath& drive_file_path, |
92 const GURL& upload_url, | 92 const GURL& upload_url, |
93 int64 content_length, | 93 int64 content_length, |
94 const UploadRangeCallback& callback) OVERRIDE; | 94 const UploadRangeCallback& callback) OVERRIDE; |
95 virtual void AuthorizeApp(const GURL& edit_url, | 95 virtual void AuthorizeApp(const GURL& edit_url, |
96 const std::string& app_id, | 96 const std::string& app_id, |
97 const AuthorizeAppCallback& callback) OVERRIDE; | 97 const AuthorizeAppCallback& callback) OVERRIDE; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace google_apis | 100 } // namespace google_apis |
101 | 101 |
102 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 102 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |