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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.h

Issue 2621163005: Remove all use of FileHandlersInfo from desktop shortcut creation. (Closed)
Patch Set: Mac tests: Remove FileHandlersInfo references (plus tiny rebase). Created 3 years, 10 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/ui/views/create_application_shortcut_view.h
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.h b/chrome/browser/ui/views/create_application_shortcut_view.h
index ff31cf9467be61f5ee282c07065a0da919884f69..07d45c12167426baff53c24602f1be7c7305e0d6 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.h
+++ b/chrome/browser/ui/views/create_application_shortcut_view.h
@@ -12,7 +12,6 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/browser/web_applications/web_app.h"
-#include "extensions/common/manifest_handlers/file_handler_info.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/window/dialog_delegate.h"
@@ -87,7 +86,6 @@ class CreateApplicationShortcutView : public views::DialogDelegateView,
// Target shortcut and file handler info.
std::unique_ptr<web_app::ShortcutInfo> shortcut_info_;
- extensions::FileHandlersInfo file_handlers_info_;
// If false, the shortcut will be created in the root level of the Start Menu.
bool create_in_chrome_apps_subdir_;
@@ -143,10 +141,8 @@ class CreateChromeApplicationShortcutView
bool Cancel() override;
private:
- // Called when the app's ShortcutInfo (with icon) and FileHandlersInfo is
- // loaded.
- void OnAppInfoLoaded(std::unique_ptr<web_app::ShortcutInfo> shortcut_info,
- const extensions::FileHandlersInfo& file_handlers_info);
+ // Called when the app's ShortcutInfo (with icon) is loaded.
+ void OnAppInfoLoaded(std::unique_ptr<web_app::ShortcutInfo> shortcut_info);
base::Callback<void(bool)> close_callback_;

Powered by Google App Engine
This is Rietveld 408576698