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

Unified Diff: chrome/browser/web_applications/web_app.h

Issue 265163006: [Mac] Rebuild app shims when they fail to dyload Chrome Framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/web_applications/web_app.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index 7c42ca1f9229c790b0e9197485a46d5cbaf9cd82..df3a4ac77b8585fcf33f8d7c5c94e578b5cee432 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -99,6 +99,9 @@ enum ShortcutCreationReason {
SHORTCUT_CREATION_AUTOMATED,
};
+typedef base::Callback<void(const web_app::ShortcutInfo&,
tapted 2014/05/05 07:02:01 nit: this should have a comment
jackhou1 2014/05/06 04:47:58 Done.
+ const extensions::FileHandlersInfo&)> InfoCallback;
+
typedef base::Callback<void(const web_app::ShortcutInfo&)>
ShortcutInfoCallback;
@@ -197,6 +200,11 @@ std::string GetWMClassFromAppName(std::string app_name);
namespace internals {
+// Loads relevant info structs for the app and calls |callback|.
+void GetInfoForApp(const extensions::Extension* extension,
+ Profile* profile,
+ const InfoCallback& callback);
+
#if defined(OS_WIN)
// Returns the Windows user-level shortcut paths that are specified in
// |creation_locations|.

Powered by Google App Engine
This is Rietveld 408576698