| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index 16b97edec30fc1bf5389c55aeb443c83938525dd..0e6872c10a0eee5b249e73c0d9ac9a0ce7f3d847 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -56,6 +56,7 @@ class BrowserSyncedWindowDelegate;
|
| class BrowserToolbarModelDelegate;
|
| class BrowserTabRestoreServiceDelegate;
|
| class BrowserWindow;
|
| +class CommandLine;
|
| class Extension;
|
| class ExtensionWindowController;
|
| class FindBarController;
|
| @@ -287,13 +288,18 @@ class Browser : public TabStripModelDelegate,
|
|
|
| // Open |extension| in |container|, using |disposition| if container type is
|
| // TAB. Returns the WebContents* that was created or NULL. If non-empty,
|
| - // |override_url| is used in place of the app launch url.
|
| + // |override_url| is used in place of the app launch url. Pass relevant
|
| + // information in |command_line| onto platform app as launch data.
|
| + // |command_line| can be NULL, indicating there is no launch data to pass on.
|
| + // TODO(benwells): Put the parameters to this into an ApplicationLaunchParams
|
| + // struct.
|
| static content::WebContents* OpenApplication(
|
| Profile* profile,
|
| const Extension* extension,
|
| extension_misc::LaunchContainer container,
|
| const GURL& override_url,
|
| - WindowOpenDisposition disposition);
|
| + WindowOpenDisposition disposition,
|
| + const CommandLine* command_line);
|
|
|
| #if defined(USE_ASH)
|
| // Opens |url| in a new application panel window for the specified url.
|
|
|