summaryrefslogtreecommitdiffstats
path: root/apps/app_restore_service.h
diff options
context:
space:
mode:
authoriannucci@chromium.org <iannucci@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 07:59:00 +0000
committeriannucci@chromium.org <iannucci@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 07:59:00 +0000
commitb8816a4626b9c908dd006803b1b6132bf1e4cd5d (patch)
tree1b3fd762a48cb9c284ed1d49a618e984071baf2b /apps/app_restore_service.h
parent4c1fd7d345306af3f163081415814beaa21e88c4 (diff)
downloadchromium_src-b8816a4626b9c908dd006803b1b6132bf1e4cd5d.zip
chromium_src-b8816a4626b9c908dd006803b1b6132bf1e4cd5d.tar.gz
chromium_src-b8816a4626b9c908dd006803b1b6132bf1e4cd5d.tar.bz2
Revert "Track and persist what file entries an extension has access to."
This reverts commit 4fe61bc24f343a6a1381a782dec4fb45b2f6c437 (r184878). This was causing test failures in FileSystemApiOpenBackgroundTest and FileSystemApiSaveBackgroundTest on linux (example http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Tests%20%28dbg%29%281%29&number=23657 ) TBR=koz@chromium.org BUG= Review URL: https://codereview.chromium.org/12319140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_restore_service.h')
-rw-r--r--apps/app_restore_service.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h
index 0217f60..f919a7a 100644
--- a/apps/app_restore_service.h
+++ b/apps/app_restore_service.h
@@ -11,19 +11,12 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+class Profile;
+
namespace extensions {
class Extension;
-
-namespace app_file_handler_util {
-struct SavedFileEntry;
-}
-
}
-class Profile;
-
-using extensions::app_file_handler_util::SavedFileEntry;
-
namespace apps {
// Tracks what apps need to be restarted when the browser restarts.
@@ -44,9 +37,7 @@ class AppRestoreService : public ProfileKeyedService,
void RecordAppStart(const std::string& extension_id);
void RecordAppStop(const std::string& extension_id);
- void RestoreApp(
- const extensions::Extension* extension,
- const std::vector<SavedFileEntry>& file_entries);
+ void RestoreApp(const extensions::Extension* extension);
content::NotificationRegistrar registrar_;
Profile* profile_;