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

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

Issue 10196007: gdata: Get rid of GetProgressStatusList() and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 87c9dfae8948d849bafcb61420cb0f547c7c6f7d..3332c34807759fcc7d8d3795d88cf84199b9a5a7 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -104,7 +104,8 @@ void FileBrowserEventRouter::ShutdownOnUIThread() {
GDataSystemServiceFactory::FindForProfile(profile_);
if (system_service) {
system_service->file_system()->RemoveObserver(this);
- system_service->file_system()->RemoveOperationObserver(this);
+ system_service->file_system()->GetOperationRegistry()->
+ RemoveObserver(this);
}
profile_ = NULL;
@@ -129,7 +130,7 @@ void FileBrowserEventRouter::ObserveFileSystemEvents() {
NOTREACHED();
return;
}
- system_service->file_system()->AddOperationObserver(this);
+ system_service->file_system()->GetOperationRegistry()->AddObserver(this);
system_service->file_system()->AddObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698