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

Unified Diff: chrome/browser/chromeos/gdata/drive_task_executor.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/drive_task_executor.cc
diff --git a/chrome/browser/chromeos/gdata/drive_task_executor.cc b/chrome/browser/chromeos/gdata/drive_task_executor.cc
index 32fadaff3a2960b68cf63410522a374e2761cd16..8caea90d225fafd31b24377eaf05bd7fbff9930c 100644
--- a/chrome/browser/chromeos/gdata/drive_task_executor.cc
+++ b/chrome/browser/chromeos/gdata/drive_task_executor.cc
@@ -10,7 +10,7 @@
#include "base/json/json_writer.h"
#include "base/string_util.h"
#include "chrome/browser/chromeos/extensions/file_browser_private_api.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_system_service.h"
#include "chrome/browser/chromeos/gdata/gdata.pb.h"
#include "chrome/browser/profiles/profile.h"
@@ -99,13 +99,13 @@ void DriveTaskExecutor::OnFileEntryFetched(
return;
}
- DocumentsServiceInterface* docs_service =
- system_service->docs_service();
+ DriveServiceInterface* drive_service =
+ system_service->drive_service();
- // Send off a request for the document service to authorize the apps for the
+ // Send off a request for the drive service to authorize the apps for the
// current document entry for this document so we can get the
// open-with-<app_id> urls from the document entry.
- docs_service->AuthorizeApp(
+ drive_service->AuthorizeApp(
GURL(entry_proto->edit_url()),
app_id_,
base::Bind(&DriveTaskExecutor::OnAppAuthorized,
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_service_interface.h ('k') | chrome/browser/chromeos/gdata/gdata_download_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698