Index: chrome/browser/ui/extensions/app_launch_params.h |
diff --git a/chrome/browser/ui/extensions/app_launch_params.h b/chrome/browser/ui/extensions/app_launch_params.h |
index 5f07ae0c5ae7391cb07da7c1548b950434d2599e..b9298f9e78b24c50551a5a346d8991eab7403850 100644 |
--- a/chrome/browser/ui/extensions/app_launch_params.h |
+++ b/chrome/browser/ui/extensions/app_launch_params.h |
@@ -2,8 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
-#define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
+#ifndef CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |
+#define CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |
+ |
+#include <string> |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
@@ -13,17 +15,8 @@ |
#include "ui/gfx/rect.h" |
#include "url/gurl.h" |
-class Browser; |
class Profile; |
-namespace base { |
-class CommandLine; |
-} |
- |
-namespace content { |
-class WebContents; |
-} |
- |
namespace extensions { |
class Extension; |
} |
@@ -82,28 +75,4 @@ struct AppLaunchParams { |
base::FilePath current_directory; |
}; |
-// Opens the application, possibly prompting the user to re-enable it. |
-void OpenApplicationWithReenablePrompt(const AppLaunchParams& params); |
- |
-// Open the application in a way specified by |params|. |
-content::WebContents* OpenApplication(const AppLaunchParams& params); |
- |
-// Open |url| in an app shortcut window. |
-// There are two kinds of app shortcuts: Shortcuts to a URL, |
-// and shortcuts that open an installed application. This function |
-// is used to open the former. To open the latter, use |
-// application_launch::OpenApplication(). |
-content::WebContents* OpenAppShortcutWindow(Profile* profile, |
- const GURL& url); |
- |
-// Whether the extension can be launched by sending a |
-// chrome.app.runtime.onLaunched event. |
-bool CanLaunchViaEvent(const extensions::Extension* extension); |
- |
-// Get the launch URL for a given extension, with optional override/fallback. |
-// |override_url|, if non-empty, will be preferred over the extension's |
-// launch url. |
-GURL UrlForExtension(const extensions::Extension* extension, |
- const GURL& override_url); |
- |
-#endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
+#endif // CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |