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

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

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.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
index f2089000f0dd9cc78b70aa7d9980d64a68cc0840..19d5e223ae5b322f760514179a3a713139f27113 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -113,7 +113,7 @@ void FileBrowserEventRouter::ShutdownOnUIThread() {
DriveSystemServiceFactory::FindForProfile(profile_);
if (system_service) {
system_service->file_system()->RemoveObserver(this);
- system_service->drive_service()->operation_registry()->RemoveObserver(this);
+ system_service->drive_service()->RemoveObserver(this);
}
chromeos::NetworkLibrary* network_library =
@@ -143,7 +143,7 @@ void FileBrowserEventRouter::ObserveFileSystemEvents() {
NOTREACHED();
return;
}
- system_service->drive_service()->operation_registry()->AddObserver(this);
+ system_service->drive_service()->AddObserver(this);
system_service->file_system()->AddObserver(this);
chromeos::NetworkLibrary* network_library =
@@ -412,7 +412,7 @@ void FileBrowserEventRouter::Observe(
}
void FileBrowserEventRouter::OnProgressUpdate(
- const std::vector<gdata::OperationRegistry::ProgressStatus>& list) {
+ const gdata::OperationProgressStatusList& list) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
scoped_ptr<ListValue> event_list(

Powered by Google App Engine
This is Rietveld 408576698