Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1068)

Unified Diff: chrome/browser/chromeos/gdata/gdata_download_observer.cc

Issue 10829375: Cleanup: separate WAPI and Drive API code in gdata_documents_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for comments Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_download_observer.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.cc b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
index 57b5cfb0636864e54d6f79bfb5c4e34fa5c8eb37..07bbad68f69826fc7104658350d7372c07012856 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.cc
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
@@ -7,8 +7,8 @@
#include "base/callback.h"
#include "base/file_util.h"
#include "base/supports_user_data.h"
+#include "chrome/browser/chromeos/gdata/documents_service_interface.h"
#include "chrome/browser/chromeos/gdata/gdata.pb.h"
-#include "chrome/browser/chromeos/gdata/gdata_documents_service.h"
#include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h"
#include "chrome/browser/chromeos/gdata/gdata_system_service.h"
#include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h"
@@ -151,7 +151,7 @@ void OnEntryFound(Profile* profile,
}
}
-// Callback for DocumentsService::Authenticate.
+// Callback for DocumentsServiceInterface::Authenticate.
void OnAuthenticate(Profile* profile,
const FilePath& gdata_path,
const base::Closure& substitute_callback,
@@ -216,7 +216,7 @@ void GDataDownloadObserver::SubstituteGDataDownloadPath(Profile* profile,
if (util::IsUnderGDataMountPoint(gdata_path)) {
// Can't access drive if we're not authenticated.
// We set off a chain of callbacks as follows:
- // DocumentsService::Authenticate
+ // DocumentsServiceInterface::Authenticate
// OnAuthenticate calls GDataFileSystem::GetEntryInfoByPath
// OnEntryFound calls GDataFileSystem::CreateDirectory (if necessary)
// OnCreateDirectory calls SubstituteGDataDownloadPathInternal

Powered by Google App Engine
This is Rietveld 408576698