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

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

Issue 10533042: Remove chromeos::GDataFileSystem::GetOperationRegistry() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove include Created 8 years, 6 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 1bbf6ccf87e8990dc3de01f6c3789c5951447782..65efc373ba00d752668ada31406b978c8345612b 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -116,8 +116,7 @@ void FileBrowserEventRouter::ShutdownOnUIThread() {
GDataSystemServiceFactory::FindForProfile(profile_);
if (system_service) {
system_service->file_system()->RemoveObserver(this);
- system_service->file_system()->GetOperationRegistry()->
- RemoveObserver(this);
+ system_service->docs_service()->operation_registry()->RemoveObserver(this);
}
chromeos::NetworkLibrary* network_library =
@@ -147,7 +146,7 @@ void FileBrowserEventRouter::ObserveFileSystemEvents() {
NOTREACHED();
return;
}
- system_service->file_system()->GetOperationRegistry()->AddObserver(this);
+ system_service->docs_service()->operation_registry()->AddObserver(this);
system_service->file_system()->AddObserver(this);
chromeos::NetworkLibrary* network_library =

Powered by Google App Engine
This is Rietveld 408576698