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

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

Issue 14579006: Start app shim when app launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify by using web_app functionality and remove app_shim_util stuff. 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/web_applications/web_app.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index 0ddf31da85b6964b81eeae94f426586ceedc6c4e..47cd03b2effbe33fa78ac21d8e369167774ab8a1 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "base/callback.h"
#include "base/files/file_path.h"
#include "build/build_config.h"
#include "chrome/browser/shell_integration.h"
@@ -21,6 +22,8 @@ namespace gfx {
class ImageFamily;
}
+class Profile;
+
namespace web_app {
// Gets the user data directory for given web app. The path for the directory is
@@ -95,6 +98,12 @@ std::string GetWMClassFromAppName(std::string app_name);
// Gets the name of the Chrome Apps menu folder in which to place app shortcuts.
string16 GetAppShortcutsSubdirName();
+#if defined(OS_MACOSX)
+void LaunchShim(Profile* profile,
tapted 2013/05/17 06:44:00 This can probably go into web_app_mac.h. But you s
jackhou1 2013/05/21 03:13:22 I just if-defined this into a no-op for non-mac. I
+ const extensions::Extension* extension,
+ base::Callback<void(bool)> completed);
+#endif
+
namespace internals {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698