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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 12 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/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index e3e41d67c60e0b365fa44525439dbaad3f824d38..e1edd27bf8f767b906938ea123a1c28ba663e83c 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -114,7 +114,6 @@
#include "chrome/browser/extensions/extension_input_ime_api.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_mount_point_provider.h"
-#include "webkit/fileapi/file_system_path_manager.h"
#endif
#if defined(OS_CHROMEOS) && defined(USE_VIRTUAL_KEYBOARD)
@@ -1117,9 +1116,8 @@ void ExtensionService::NotifyExtensionUnloaded(
#if defined(OS_CHROMEOS)
// Revoke external file access to
if (profile_->GetFileSystemContext() &&
- profile_->GetFileSystemContext()->path_manager() &&
- profile_->GetFileSystemContext()->path_manager()->external_provider()) {
- profile_->GetFileSystemContext()->path_manager()->external_provider()->
+ profile_->GetFileSystemContext()->external_provider()) {
+ profile_->GetFileSystemContext()->external_provider()->
RevokeAccessForExtension(extension->id());
}
« no previous file with comments | « chrome/browser/extensions/extension_local_filesystem_apitest.cc ('k') | chrome/browser/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698