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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_event_router.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/extensions/file_browser_event_router.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
index 1823f7fccb4fb422b16b6ce190fa46f45ca4ad0c..79141ca2f7db0657f92bc865f766b8ba7434d85d 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -12,7 +12,7 @@
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/extensions/file_browser_notifications.h"
#include "chrome/browser/chromeos/extensions/file_manager_util.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_util.h"
#include "chrome/browser/chromeos/login/base_login_display_host.h"
@@ -114,7 +114,7 @@ void FileBrowserEventRouter::ShutdownOnUIThread() {
GDataSystemServiceFactory::FindForProfile(profile_);
if (system_service) {
system_service->file_system()->RemoveObserver(this);
- system_service->docs_service()->operation_registry()->RemoveObserver(this);
+ system_service->drive_service()->operation_registry()->RemoveObserver(this);
}
chromeos::NetworkLibrary* network_library =
@@ -144,7 +144,7 @@ void FileBrowserEventRouter::ObserveFileSystemEvents() {
NOTREACHED();
return;
}
- system_service->docs_service()->operation_registry()->AddObserver(this);
+ system_service->drive_service()->operation_registry()->AddObserver(this);
system_service->file_system()->AddObserver(this);
chromeos::NetworkLibrary* network_library =
@@ -233,7 +233,7 @@ void FileBrowserEventRouter::MountDrive(
gdata::GDataSystemService* system_service =
gdata::GDataSystemServiceFactory::GetForProfile(profile_);
if (system_service) {
- system_service->docs_service()->Authenticate(
+ system_service->drive_service()->Authenticate(
base::Bind(&FileBrowserEventRouter::OnAuthenticated,
this,
callback));

Powered by Google App Engine
This is Rietveld 408576698