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

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

Issue 64803005: File association for app shims. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a comma. Created 6 years, 8 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
« no previous file with comments | « chrome/browser/web_applications/web_app.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_mac.h
diff --git a/chrome/browser/web_applications/web_app_mac.h b/chrome/browser/web_applications/web_app_mac.h
index a85bd95af7fe17d53ff096e261b45e50ad16eb63..c96fdad44b03fd6b3966fe09ec8d41673f144b8a 100644
--- a/chrome/browser/web_applications/web_app_mac.h
+++ b/chrome/browser/web_applications/web_app_mac.h
@@ -12,6 +12,7 @@
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "chrome/browser/web_applications/web_app.h"
+#include "chrome/common/extensions/file_handler_info.h"
namespace web_app {
@@ -30,9 +31,9 @@ class WebAppShortcutCreator {
// Creates a new shortcut based on information in |shortcut_info|.
// A copy of the shortcut is placed in |app_data_dir|.
// |chrome_bundle_id| is the CFBundleIdentifier of the Chrome browser bundle.
- WebAppShortcutCreator(
- const base::FilePath& app_data_dir,
- const web_app::ShortcutInfo& shortcut_info);
+ WebAppShortcutCreator(const base::FilePath& app_data_dir,
+ const web_app::ShortcutInfo& shortcut_info,
+ const extensions::FileHandlersInfo& file_handlers_info);
virtual ~WebAppShortcutCreator();
@@ -102,6 +103,9 @@ class WebAppShortcutCreator {
// Information about the app.
web_app::ShortcutInfo info_;
+ // The app's file handlers.
+ extensions::FileHandlersInfo file_handlers_info_;
+
DISALLOW_COPY_AND_ASSIGN(WebAppShortcutCreator);
};
« no previous file with comments | « chrome/browser/web_applications/web_app.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698