OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ | 5 #ifndef CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ |
6 #define CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ | 6 #define CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "url/gurl.h" |
| 11 |
10 namespace install_chrome_app { | 12 namespace install_chrome_app { |
11 | 13 |
12 // Initiates the UI flow for installing a Chrome app. | 14 // Get the webstore URL for an app. |
13 // Currently this is done by directing the user to the webstore page. | 15 GURL GetAppInstallUrl(const std::string& app_id); |
14 void InstallChromeApp(const std::string& app_id); | |
15 | 16 |
16 } // namespace install_chrome_app | 17 } // namespace install_chrome_app |
17 | 18 |
18 #endif // CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ | 19 #endif // CHROME_BROWSER_APPS_INSTALL_CHROME_APP_H_ |
OLD | NEW |