Swarm even fewer tests on CrWinClang.
[chromium-blink-merge.git] / chrome / browser / ui / extensions / application_launch_web_app.h
blobe19a272b14138b70452f01b29f1376467f9bb75a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_
8 #include "chrome/browser/ui/extensions/app_launch_params.h"
9 #include "url/gurl.h"
11 namespace content {
12 class WebContents;
15 // Helper method to OpenApplication() which opens a web app window with |url|
16 // in the way specified by |params|.
17 content::WebContents* OpenWebAppWindow(const AppLaunchParams& params,
18 const GURL& url);
20 // Helper method to OpenApplication() which opens a web app tab with |url| in
21 // the way specified by |params|.
22 content::WebContents* OpenWebAppTab(const AppLaunchParams& params,
23 const GURL& url);
25 #endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_