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

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

Issue 10828385: Rename DocumentsServiceInterface to DriveServiceInterface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unnecessary includes. 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 07bbad68f69826fc7104658350d7372c07012856..ff56ca43875d654f95481820f343ce36b40fae20 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.cc
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
@@ -7,7 +7,7 @@
#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/drive_service_interface.h"
#include "chrome/browser/chromeos/gdata/gdata.pb.h"
#include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h"
#include "chrome/browser/chromeos/gdata/gdata_system_service.h"
@@ -151,7 +151,7 @@ void OnEntryFound(Profile* profile,
}
}
-// Callback for DocumentsServiceInterface::Authenticate.
+// Callback for DriveServiceInterface::Authenticate.
void OnAuthenticate(Profile* profile,
const FilePath& gdata_path,
const base::Closure& substitute_callback,
@@ -216,11 +216,11 @@ 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:
- // DocumentsServiceInterface::Authenticate
+ // DriveServiceInterface::Authenticate
// OnAuthenticate calls GDataFileSystem::GetEntryInfoByPath
// OnEntryFound calls GDataFileSystem::CreateDirectory (if necessary)
// OnCreateDirectory calls SubstituteGDataDownloadPathInternal
- GetSystemService(profile)->docs_service()->Authenticate(
+ GetSystemService(profile)->drive_service()->Authenticate(
base::Bind(&OnAuthenticate, profile, gdata_path,
base::Bind(&SubstituteGDataDownloadPathInternal,
profile, callback)));
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_task_executor.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698