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

Side by Side Diff: chrome/common/extensions/api/webstore/webstore_api_constants.cc

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 6 years, 9 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
OLDNEW
(Empty)
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.
4
5 #include "chrome/common/extensions/api/webstore/webstore_api_constants.h"
6
7 namespace extensions {
8 namespace api {
9 namespace webstore {
10
11 // The "downloading" stage begins when the installer starts downloading modules
12 // for the extension.
13 const char kInstallStageDownloading[] = "downloading";
14
15 // The "installing" stage begins once all downloads are complete, and the
16 // CrxInstaller begins.
17 const char kInstallStageInstalling[] = "installing";
18
19 // The method in custom_webstore_bindings.js triggered when we enter a new
20 // install stage ("downloading" or "installing").
21 const char kOnInstallStageChangedMethodName[] = "onInstallStageChanged";
22
23 // The method in custom_webstore_bindings.js triggered when we update
24 // download progress.
25 const char kOnDownloadProgressMethodName[] = "onDownloadProgress";
26
27 } // namespace webstore
28 } // namespace api
29 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webstore/webstore_api_constants.h ('k') | chrome/common/extensions/chrome_extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698