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

Unified Diff: chrome/browser/web_applications/web_app.h

Issue 8885007: Remove custom Task implementations from VisitedLinkMaster and web_app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows Created 9 years 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.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index c43c6aed8f2c83f834e0270c5a2c383a2bfb29af..41ad6b06a796ab8fc94d8783b9d80b67db18f75a 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -9,7 +9,6 @@
#include <string>
#include <vector>
-#include "base/callback_old.h"
#include "base/file_path.h"
#include "build/build_config.h"
#include "chrome/browser/shell_integration.h"
@@ -32,10 +31,6 @@ std::string GenerateApplicationNameFromExtensionId(const std::string& id);
// Extracts the extension id from the app name.
std::string GetExtensionIdFromApplicationName(const std::string& app_name);
-// Callback after user dismisses CreateShortcutView. "true" indicates
-// shortcut is created successfully. Otherwise, it is false.
-typedef Callback1<bool>::Type CreateShortcutCallback;
-
// Creates a shortcut for web application based on given shortcut data.
// |profile_path| is used as root directory for persisted data such as icon.
// Directory layout is similar to what Gears has, i.e. an web application's
@@ -43,8 +38,7 @@ typedef Callback1<bool>::Type CreateShortcutCallback;
// |root_dir|. A crx based app uses a directory named _crx_<app id>.
void CreateShortcut(
const FilePath& profile_path,
- const ShellIntegration::ShortcutInfo& shortcut_info,
- CreateShortcutCallback* callback);
+ const ShellIntegration::ShortcutInfo& shortcut_info);
// Returns true if given url is a valid web app url.
bool IsValidUrl(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698