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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.h

Issue 212273002: Move UpdateShortcutInfoAndIconForApp from web_app_ui to web_app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on linux Created 6 years, 9 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/ui/browser.cc ('k') | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_applications/web_app_ui.h
diff --git a/chrome/browser/ui/web_applications/web_app_ui.h b/chrome/browser/ui/web_applications/web_app_ui.h
index 6496974ba0274b36b7779b10a3cd21e47ed392b5..07581192bed6ea5fa3cdba547f75a5381adc8b87 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.h
+++ b/chrome/browser/ui/web_applications/web_app_ui.h
@@ -7,7 +7,6 @@
#include <vector>
-#include "base/callback.h"
#include "chrome/browser/shell_integration.h"
namespace content {
@@ -22,12 +21,6 @@ class Profile;
namespace web_app {
-typedef base::Callback<void(const ShellIntegration::ShortcutInfo&)>
- ShortcutInfoCallback;
-
-ShellIntegration::ShortcutInfo ShortcutInfoForExtensionAndProfile(
- const extensions::Extension* extension, Profile* profile);
-
// Extracts shortcut info of the given WebContents.
void GetShortcutInfoForTab(content::WebContents* web_contents,
ShellIntegration::ShortcutInfo* info);
@@ -39,18 +32,6 @@ void GetShortcutInfoForTab(content::WebContents* web_contents,
// updates (recreates) them if they exits.
void UpdateShortcutForTabContents(content::WebContents* web_contents);
-// Updates the shortcut info for |extension| and |profile|.
-void UpdateShortcutInfoForApp(const extensions::Extension& extension,
- Profile* profile,
- ShellIntegration::ShortcutInfo* shortcut_info);
-
-// Fetches the icon for |extension| and calls |callback| with shortcut info
-// filled out as by UpdateShortcutInfoForApp.
-void UpdateShortcutInfoAndIconForApp(
- const extensions::Extension* extension,
- Profile* profile,
- const ShortcutInfoCallback& callback);
-
} // namespace web_app
#endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698