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

Unified Diff: chrome/browser/web_applications/web_app_win.cc

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/web_applications/web_app_win.cc
diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc
index cee81b33dc3debc0cbf84690c6f85f07aa4db79b..018c92556d2c543a8e2c0e6282ef1ac59ba9d4e0 100644
--- a/chrome/browser/web_applications/web_app_win.cc
+++ b/chrome/browser/web_applications/web_app_win.cc
@@ -444,7 +444,6 @@ bool CheckAndSaveIcon(const base::FilePath& icon_file,
bool CreatePlatformShortcuts(
const base::FilePath& web_app_path,
std::unique_ptr<ShortcutInfo> shortcut_info,
- const extensions::FileHandlersInfo& file_handlers_info,
const ShortcutLocations& creation_locations,
ShortcutCreationReason creation_reason) {
DCHECK_CURRENTLY_ON(content::BrowserThread::FILE);
@@ -487,11 +486,9 @@ bool CreatePlatformShortcuts(
return true;
}
-void UpdatePlatformShortcuts(
- const base::FilePath& web_app_path,
- const base::string16& old_app_title,
- std::unique_ptr<ShortcutInfo> shortcut_info,
- const extensions::FileHandlersInfo& file_handlers_info) {
+void UpdatePlatformShortcuts(const base::FilePath& web_app_path,
+ const base::string16& old_app_title,
+ std::unique_ptr<ShortcutInfo> shortcut_info) {
DCHECK_CURRENTLY_ON(content::BrowserThread::FILE);
// Generates file name to use with persisted ico and shortcut file.

Powered by Google App Engine
This is Rietveld 408576698