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

Side by Side Diff: chrome/browser/apps/install_chrome_app.h

Issue 412043003: Make --install-chrome-app use extensions::WebstoreInstallWithPrompt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep install_chrome_app Created 6 years, 4 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/install_chrome_app.cc » ('j') | chrome/browser/extensions/startup_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698