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

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: Redo after refactoring. Put behind flag. Tests. 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..80638e2d23c7dbe8392896078257118f3bfba094 100644
--- a/chrome/browser/web_applications/web_app_mac.h
+++ b/chrome/browser/web_applications/web_app_mac.h
@@ -33,7 +33,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 +104,9 @@ class WebAppShortcutCreator {
// Information about the app.
ShellIntegration::ShortcutInfo info_;
+ // The app's file handlers.
+ extensions::FileHandlersInfo file_handlers_info_;
tapted 2014/04/17 04:37:50 #include chrome/common/extensions/file_handler_inf
jackhou1 2014/04/22 04:40:19 Ah, good point. Changed the struct to hold a copy
+
DISALLOW_COPY_AND_ASSIGN(WebAppShortcutCreator);
};

Powered by Google App Engine
This is Rietveld 408576698