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

Unified Diff: chrome/browser/extensions/api/app_runtime/app_runtime_api.h

Issue 12391006: Give an app the file entries it had back on restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile (chromium style) Created 7 years, 9 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/api/app_runtime/app_runtime_api.h
diff --git a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
index 84ade6303e23c58889d070000ee14cfce6424e6d..f9075b4cc084a19893f576c74905daee90a70b82 100644
--- a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
+++ b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
@@ -18,14 +18,20 @@ namespace extensions {
class Extension;
+namespace app_file_handler_util {
+struct GrantedFileEntry;
+}
+
class AppEventRouter {
public:
// Dispatches the onLaunched event to the given app, providing no launch
// data.
static void DispatchOnLaunchedEvent(Profile* profile,
const Extension* extension);
- static void DispatchOnRestartedEvent(Profile* profile,
- const Extension* extension);
+ static void DispatchOnRestartedEvent(
+ Profile* profile,
+ const Extension* extension,
+ const std::vector<app_file_handler_util::GrantedFileEntry>& file_entries);
// TODO(benwells): Update this comment, it is out of date.
// Dispatches the onLaunched event to the given app, providing launch data of
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | chrome/browser/extensions/api/app_runtime/app_runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698