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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_event_router.h

Issue 10939011: Reland "Revert 156830 - drive: Stop exposing operation_registry() from DriveServiceInterface" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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.h
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.h b/chrome/browser/chromeos/extensions/file_browser_event_router.h
index dd9ba05f12efff040a902c0c8e0764846e1fda80..57073a15a363a8e0573457d23fff76848b0a08d2 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.h
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.h
@@ -16,7 +16,7 @@
#include "base/synchronization/lock.h"
#include "chrome/browser/chromeos/cros/network_library.h"
#include "chrome/browser/chromeos/gdata/drive_file_system_interface.h"
-#include "chrome/browser/google_apis/operation_registry.h"
+#include "chrome/browser/chromeos/gdata/drive_service_interface.h"
#include "chrome/browser/profiles/refcounted_profile_keyed_service.h"
#include "chrome/browser/profiles/refcounted_profile_keyed_service_factory.h"
#include "chromeos/disks/disk_mount_manager.h"
@@ -35,7 +35,7 @@ class FileBrowserEventRouter
public chromeos::disks::DiskMountManager::Observer,
public chromeos::NetworkLibrary::NetworkManagerObserver,
public content::NotificationObserver,
- public gdata::OperationRegistry::Observer,
+ public gdata::DriveServiceObserver,
public gdata::DriveFileSystemInterface::Observer {
public:
// RefcountedProfileKeyedService overrides.
@@ -77,10 +77,9 @@ class FileBrowserEventRouter
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // OperationRegistry::Observer overrides.
+ // gdata::DriveServiceObserver overrides.
virtual void OnProgressUpdate(
- const std::vector<gdata::OperationRegistry::ProgressStatus>& list)
- OVERRIDE;
+ const gdata::OperationProgressStatusList& list) OVERRIDE;
virtual void OnAuthenticationFailed() OVERRIDE;
// gdata::DriveFileSystemInterface::Observer overrides.

Powered by Google App Engine
This is Rietveld 408576698