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

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

Issue 14607023: Add support for persistent file access in apps. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 7 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.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index e11e6cc76c8fc3d9ed03d4dd7b0882da7955001f..ea62a5b53ffe5cb08e004480a67a7014d0fd325d 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -67,11 +67,6 @@ class ExtensionSystem;
class ExtensionUpdater;
class PendingExtensionManager;
class SettingsFrontend;
-
-namespace app_file_handler_util {
-struct SavedFileEntry;
-}
-
}
namespace syncer {
@@ -801,10 +796,7 @@ class ExtensionService
// Dispatches a restart event to the platform app associated with
// |extension_host|.
- static void RestartApplication(
- std::vector<extensions::app_file_handler_util::SavedFileEntry>
- file_entries,
- extensions::ExtensionHost* extension_host);
+ static void RestartApplication(extensions::ExtensionHost* extension_host);
// Helper to inspect an ExtensionHost after it has been loaded.
void InspectExtensionHost(extensions::ExtensionHost* host);
@@ -928,13 +920,6 @@ class ExtensionService
// dispatched to the extension when it is loaded.
std::map<std::string, int> on_load_events_;
- // Maps extension ids to vectors of saved file entries that the extension
- // should be given access to on restart.
- typedef std::map<std::string,
- std::vector<extensions::app_file_handler_util::SavedFileEntry> >
- SavedFileEntryMap;
- SavedFileEntryMap on_restart_file_entries_;
-
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698