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

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: Address comments. Change FileHandlersInfo to hold a copy. 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
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 f47f64f98701439c9d0b2ce60beb5126b792cc34..7ed5d2164ae447dc37bdd276ca1903ea230fe60c 100644
--- a/chrome/browser/web_applications/web_app_mac.h
+++ b/chrome/browser/web_applications/web_app_mac.h
@@ -13,6 +13,7 @@
#include "base/gtest_prod_util.h"
#include "chrome/browser/shell_integration.h"
#include "chrome/browser/web_applications/web_app.h"
+#include "chrome/common/extensions/file_handler_info.h"
namespace web_app {
@@ -33,7 +34,8 @@ class WebAppShortcutCreator {
// |chrome_bundle_id| is the CFBundleIdentifier of the Chrome browser bundle.
WebAppShortcutCreator(
const base::FilePath& app_data_dir,
- const ShellIntegration::ShortcutInfo& shortcut_info);
+ const ShellIntegration::ShortcutInfo& shortcut_info,
+ const extensions::FileHandlersInfo& file_handlers_info);
virtual ~WebAppShortcutCreator();
@@ -103,6 +105,9 @@ class WebAppShortcutCreator {
// Information about the app.
ShellIntegration::ShortcutInfo info_;
+ // The app's file handlers.
+ extensions::FileHandlersInfo file_handlers_info_;
+
DISALLOW_COPY_AND_ASSIGN(WebAppShortcutCreator);
};

Powered by Google App Engine
This is Rietveld 408576698