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_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_
12 // An enum for listener types. This is used when creating/reading the mask for
15 INSTALL_STAGE_LISTENER
= 1,
16 DOWNLOAD_PROGRESS_LISTENER
= 1 << 1
19 // An enum to represent which stage the installation is in.
21 INSTALL_STAGE_DOWNLOADING
= 0,
22 INSTALL_STAGE_INSTALLING
,
25 extern const char kInstallStageDownloading
[];
26 extern const char kInstallStageInstalling
[];
27 extern const char kOnInstallStageChangedMethodName
[];
28 extern const char kOnDownloadProgressMethodName
[];
30 } // namespace webstore
32 } // namespace extensions
34 #endif // CHROME_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_