Index: chrome/browser/chromeos/gdata/gdata_documents_service.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.cc b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
index 8666e77b9af4d9292dd7ae7b167f29afd23ec3eb..b7ba538e6eb80df715e8a7e42a4d2b8992285c95 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
@@ -8,8 +8,10 @@ |
#include "base/bind.h" |
#include "base/message_loop_proxy.h" |
+#include "chrome/browser/chromeos/gdata/drive_api_operations.h" |
#include "chrome/browser/chromeos/gdata/gdata_operation_runner.h" |
#include "chrome/browser/chromeos/gdata/gdata_operations.h" |
+#include "chrome/browser/chromeos/gdata/gdata_util.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/net/url_util.h" |
#include "content/public/browser/browser_thread.h" |
@@ -133,6 +135,22 @@ void DocumentsService::GetAccountMetadata(const GetDataCallback& callback) { |
runner_->StartOperationWithRetry(operation); |
} |
+void DocumentsService::GetAboutResource(const GetDataCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ |
+ GetAboutOperation* operation = |
+ new GetAboutOperation(operation_registry(), profile_, callback); |
+ runner_->StartOperationWithRetry(operation); |
+} |
+ |
+void DocumentsService::GetApplicationList(const GetDataCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ |
+ GetApplistOperation* operation = |
+ new GetApplistOperation(operation_registry(), profile_, callback); |
+ runner_->StartOperationWithRetry(operation); |
+} |
+ |
void DocumentsService::DownloadDocument( |
const FilePath& virtual_path, |
const FilePath& local_cache_path, |