| Index: chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc
|
| diff --git a/chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc b/chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc
|
| index 620e32c45d579fadb07466c474880e02a54beb74..8d04694e0e7e25216201a62a06e38ee5eb30b566 100644
|
| --- a/chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc
|
| +++ b/chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc
|
| @@ -13,6 +13,7 @@
|
| #include "chrome/browser/ui/apps/app_info_dialog.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "extensions/browser/api/device_permissions_manager.h"
|
| +#include "extensions/browser/api/file_system/saved_file_entry.h"
|
| #include "extensions/browser/extension_registry.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/permissions/permissions_data.h"
|
| @@ -66,10 +67,10 @@ void ShowPermissionsDialogHelper::ShowPermissionsDialog(
|
| std::vector<base::FilePath> retained_file_paths;
|
| if (extension->permissions_data()->HasAPIPermission(
|
| APIPermission::kFileSystem)) {
|
| - std::vector<apps::SavedFileEntry> retained_file_entries =
|
| - apps::SavedFilesService::Get(profile_)
|
| - ->GetAllFileEntries(extension_id_);
|
| - for (const apps::SavedFileEntry& entry : retained_file_entries)
|
| + std::vector<SavedFileEntry> retained_file_entries =
|
| + apps::SavedFilesService::Get(profile_)->GetAllFileEntries(
|
| + extension_id_);
|
| + for (const SavedFileEntry& entry : retained_file_entries)
|
| retained_file_paths.push_back(entry.path);
|
| }
|
| std::vector<base::string16> retained_device_messages;
|
|
|