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

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

Issue 263403002: Replace OnceOffCreateShortcuts with UpdateShortcutsForAllAppsIfNeeded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 7 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_mac.mm ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 529e863523851c3734e9ac46a5553003cbc6d07e..ddc8f0dec3e0613a850bbc4f579e39b628a94090 100644
--- a/chrome/browser/web_applications/web_app_win.cc
+++ b/chrome/browser/web_applications/web_app_win.cc
@@ -413,6 +413,11 @@ void UpdateRelaunchDetailsForApp(Profile* profile,
base::Bind(&OnShortcutInfoLoadedForSetRelaunchDetails, hwnd));
}
+void UpdateShortcutsForAllApps(Profile* profile,
+ const base::Closure& callback) {
+ callback.Run();
+}
+
namespace internals {
// Saves |image| to |icon_file| if the file is outdated and refresh shell's
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698