Searched refs:google_apis (Results 1 - 25 of 263) sorted by relevance

1234567891011

/external/chromium_org/chrome/browser/drive/
H A Ddrive_api_service.h14 #include "google_apis/drive/auth_service_interface.h"
15 #include "google_apis/drive/auth_service_observer.h"
16 #include "google_apis/drive/drive_api_url_generator.h"
17 #include "google_apis/drive/gdata_wapi_url_generator.h"
27 namespace google_apis { namespace
41 public google_apis::AuthServiceObserver {
71 const google_apis::AuthStatusCallback& callback) OVERRIDE;
76 virtual google_apis::CancelCallback GetAllFileList(
77 const google_apis::FileListCallback& callback) OVERRIDE;
78 virtual google_apis
[all...]
H A Ddrive_service_interface.h11 #include "google_apis/drive/auth_service_interface.h"
12 #include "google_apis/drive/base_requests.h"
13 #include "google_apis/drive/drive_api_requests.h"
14 #include "google_apis/drive/drive_common_callbacks.h"
120 const google_apis::AuthStatusCallback& callback) = 0;
143 virtual google_apis::CancelCallback GetAllFileList(
144 const google_apis::FileListCallback& callback) = 0;
154 virtual google_apis::CancelCallback GetFileListInDirectory(
156 const google_apis::FileListCallback& callback) = 0;
166 virtual google_apis
[all...]
H A Ddummy_drive_service.h9 #include "google_apis/drive/auth_service_interface.h"
27 const google_apis::AuthStatusCallback& callback) OVERRIDE;
32 virtual google_apis::CancelCallback GetAllFileList(
33 const google_apis::FileListCallback& callback) OVERRIDE;
34 virtual google_apis::CancelCallback GetFileListInDirectory(
36 const google_apis::FileListCallback& callback) OVERRIDE;
37 virtual google_apis::CancelCallback Search(
39 const google_apis::FileListCallback& callback) OVERRIDE;
40 virtual google_apis::CancelCallback SearchByTitle(
43 const google_apis
[all...]
H A Dfake_drive_service.h15 namespace google_apis { namespace
81 const google_apis::AboutResource& about_resource() const {
137 const google_apis::AuthStatusCallback& callback) OVERRIDE;
141 virtual google_apis::CancelCallback GetAllFileList(
142 const google_apis::FileListCallback& callback) OVERRIDE;
143 virtual google_apis::CancelCallback GetFileListInDirectory(
145 const google_apis::FileListCallback& callback) OVERRIDE;
148 virtual google_apis::CancelCallback Search(
150 const google_apis::FileListCallback& callback) OVERRIDE;
151 virtual google_apis
[all...]
H A Ddrive_api_util.h11 #include "google_apis/drive/drive_common_callbacks.h"
12 #include "google_apis/drive/gdata_errorcode.h"
21 namespace google_apis { namespace
28 } // namespace google_apis
67 scoped_ptr<google_apis::ResourceEntry>
69 const google_apis::FileResource& file_resource);
72 scoped_ptr<google_apis::ResourceEntry>
74 const google_apis::ChangeResource& change_resource);
77 scoped_ptr<google_apis::ResourceList>
78 ConvertFileListToResourceList(const google_apis
[all...]
H A Ddrive_uploader.h15 #include "google_apis/drive/gdata_errorcode.h"
24 namespace google_apis { namespace
36 google_apis::GDataErrorCode error,
38 scoped_ptr<google_apis::FileResource> resource_entry)>
72 virtual google_apis::CancelCallback UploadNewFile(
79 const google_apis::ProgressCallback& progress_callback) = 0;
92 virtual google_apis::CancelCallback UploadExistingFile(
98 const google_apis::ProgressCallback& progress_callback) = 0;
106 virtual google_apis::CancelCallback ResumeUploadFile(
111 const google_apis
[all...]
H A Ddrive_api_util.cc18 #include "google_apis/drive/drive_api_parser.h"
19 #include "google_apis/drive/gdata_wapi_parser.h"
139 scoped_ptr<google_apis::ResourceEntry>
141 const google_apis::FileResource& file_resource) {
142 scoped_ptr<google_apis::ResourceEntry> entry(new google_apis::ResourceEntry);
148 entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_FOLDER);
150 entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_UNKNOWN);
152 entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_FILE);
165 google_apis
[all...]
H A Dtest_util.cc10 #include "google_apis/drive/drive_api_parser.h"
11 #include "google_apis/drive/test_util.h"
13 using google_apis::FileResource;
14 using google_apis::GDATA_OTHER_ERROR;
15 using google_apis::GDataErrorCode;
16 using google_apis::HTTP_CREATED;
32 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
44 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
56 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
68 google_apis
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Ddrive_service_on_worker.h35 virtual google_apis::CancelCallback AddNewDirectory(
39 const google_apis::FileResourceCallback& callback) OVERRIDE;
41 virtual google_apis::CancelCallback DeleteResource(
44 const google_apis::EntryActionCallback& callback) OVERRIDE;
46 virtual google_apis::CancelCallback DownloadFile(
49 const google_apis::DownloadActionCallback& download_action_callback,
50 const google_apis::GetContentCallback& get_content_callback,
51 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
53 virtual google_apis::CancelCallback GetAboutResource(
54 const google_apis
[all...]
H A Ddrive_service_wrapper.h27 const google_apis::FileResourceCallback& callback);
32 const google_apis::EntryActionCallback& callback);
37 const google_apis::DownloadActionCallback& download_action_callback,
38 const google_apis::GetContentCallback& get_content_callback,
39 const google_apis::ProgressCallback& progress_callback);
42 const google_apis::AboutResourceCallback& callback);
46 const google_apis::ChangeListCallback& callback);
50 const google_apis::ChangeListCallback& callback);
54 const google_apis::FileListCallback& callback);
58 const google_apis
[all...]
H A Dfake_drive_service_helper.h13 #include "google_apis/drive/gdata_wapi_parser.h"
29 google_apis::GDataErrorCode AddOrphanedFolder(
32 google_apis::GDataErrorCode AddFolder(
36 google_apis::GDataErrorCode AddFile(
41 google_apis::GDataErrorCode UpdateFile(
44 google_apis::GDataErrorCode DeleteResource(
46 google_apis::GDataErrorCode TrashResource(
48 google_apis::GDataErrorCode UpdateModificationTime(
51 google_apis::GDataErrorCode RenameResource(
54 google_apis
[all...]
H A Ddrive_service_on_worker.cc14 #include "google_apis/drive/drive_api_parser.h"
15 #include "google_apis/drive/gdata_wapi_parser.h"
32 google_apis::CancelCallback DriveServiceOnWorker::AddNewDirectory(
36 const google_apis::FileResourceCallback& callback) {
49 return google_apis::CancelCallback();
52 google_apis::CancelCallback DriveServiceOnWorker::DeleteResource(
55 const google_apis::EntryActionCallback& callback) {
67 return google_apis::CancelCallback();
70 google_apis::CancelCallback DriveServiceOnWorker::DownloadFile(
73 const google_apis
[all...]
H A Ddrive_backend_util.cc17 #include "google_apis/drive/drive_api_parser.h"
18 #include "google_apis/drive/gdata_wapi_parser.h"
89 google_apis::GDataErrorCode error) {
93 case google_apis::HTTP_SUCCESS:
94 case google_apis::HTTP_CREATED:
95 case google_apis::HTTP_NO_CONTENT:
96 case google_apis::HTTP_FOUND:
99 case google_apis::HTTP_NOT_MODIFIED:
102 case google_apis::HTTP_CONFLICT:
103 case google_apis
[all...]
H A Dfake_drive_uploader.h16 #include "google_apis/drive/gdata_errorcode.h"
17 #include "google_apis/drive/test_util.h"
29 virtual google_apis::CancelCallback AddNewDirectory(
33 const google_apis::FileResourceCallback& callback) OVERRIDE;
53 virtual google_apis::CancelCallback UploadNewFile(
60 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
61 virtual google_apis::CancelCallback UploadExistingFile(
67 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
68 virtual google_apis::CancelCallback ResumeUploadFile(
73 const google_apis
[all...]
H A Ddrive_service_wrapper.cc25 const google_apis::FileResourceCallback& callback) {
36 const google_apis::EntryActionCallback& callback) {
46 const google_apis::DownloadActionCallback& download_action_callback,
47 const google_apis::GetContentCallback& get_content_callback,
48 const google_apis::ProgressCallback& progress_callback) {
58 const google_apis::AboutResourceCallback& callback) {
65 const google_apis::ChangeListCallback& callback) {
72 const google_apis::ChangeListCallback& callback) {
79 const google_apis::FileListCallback& callback) {
86 const google_apis
[all...]
H A Dsync_engine_initializer.h16 #include "google_apis/drive/drive_common_callbacks.h"
17 #include "google_apis/drive/gdata_errorcode.h"
23 namespace google_apis { namespace
83 google_apis::GDataErrorCode error,
84 scoped_ptr<google_apis::AboutResource> about_resource);
87 google_apis::GDataErrorCode error,
88 scoped_ptr<google_apis::FileList> file_list);
91 google_apis::GDataErrorCode error,
92 scoped_ptr<google_apis::FileResource> entry);
95 google_apis
[all...]
H A Ddrive_uploader_on_worker.cc14 #include "google_apis/drive/drive_api_parser.h"
31 google_apis::CancelCallback DriveUploaderOnWorker::UploadNewFile(
38 const google_apis::ProgressCallback& progress_callback) {
53 return google_apis::CancelCallback();
56 google_apis::CancelCallback DriveUploaderOnWorker::UploadExistingFile(
62 const google_apis::ProgressCallback& progress_callback) {
76 return google_apis::CancelCallback();
79 google_apis::CancelCallback DriveUploaderOnWorker::ResumeUploadFile(
84 const google_apis::ProgressCallback& progress_callback) {
86 return google_apis
[all...]
H A Dfake_drive_service_helper.cc15 #include "google_apis/drive/drive_api_parser.h"
16 #include "google_apis/drive/gdata_wapi_parser.h"
22 using google_apis::AboutResource;
23 using google_apis::FileList;
24 using google_apis::FileResource;
25 using google_apis::GDataErrorCode;
26 using google_apis::ResourceEntry;
71 if (error != google_apis::HTTP_CREATED)
74 error = google_apis::GDATA_OTHER_ERROR;
80 if (error != google_apis
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_errors.cc139 FileError GDataToFileError(google_apis::GDataErrorCode status) {
141 case google_apis::HTTP_SUCCESS:
142 case google_apis::HTTP_CREATED:
143 case google_apis::HTTP_NO_CONTENT:
145 case google_apis::HTTP_UNAUTHORIZED:
146 case google_apis::HTTP_FORBIDDEN:
148 case google_apis::HTTP_NOT_FOUND:
149 case google_apis::HTTP_GONE:
151 case google_apis::HTTP_INTERNAL_SERVER_ERROR:
152 case google_apis
[all...]
H A Djob_scheduler.h80 void GetAppList(const google_apis::AppListCallback& callback);
84 void GetAboutResource(const google_apis::AboutResourceCallback& callback);
88 void GetAllFileList(const google_apis::FileListCallback& callback);
93 const google_apis::FileListCallback& callback);
98 const google_apis::FileListCallback& callback);
103 const google_apis::ChangeListCallback& callback);
108 const google_apis::ChangeListCallback& callback);
113 const google_apis::FileListCallback& callback);
118 const google_apis::FileResourceCallback& callback);
124 const google_apis
[all...]
H A Dresource_entry_conversion.h12 namespace google_apis { namespace
21 // Converts a google_apis::ChangeResource into a drive::ResourceEntry.
36 const google_apis::ChangeResource& input,
40 // Converts a google_apis::FileResource into a drive::ResourceEntry.
43 const google_apis::FileResource& input,
H A Djob_scheduler_unittest.cc22 #include "google_apis/drive/drive_api_parser.h"
23 #include "google_apis/drive/test_util.h"
35 google_apis::GDataErrorCode error_in,
36 scoped_ptr<google_apis::FileResource> entry_in) {
104 virtual google_apis::CancelCallback InitiateUploadNewFile(
110 const google_apis::InitiateUploadCallback& callback) OVERRIDE {
112 return base::Bind(callback, google_apis::GDATA_CANCELLED, GURL());
195 google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
196 scoped_ptr<google_apis
[all...]
/external/chromium_org/google_apis/drive/
H A Dauth_service_observer.h8 namespace google_apis { namespace
21 } // namespace google_apis
H A Drequest_util.h10 namespace google_apis { namespace
21 } // namespace google_apis
H A Drequest_util_unittest.cc5 #include "google_apis/drive/request_util.h"
9 namespace google_apis { namespace
22 } // namespace google_apis

Completed in 273 milliseconds

1234567891011