OLD | NEW |
(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_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 |
OLD | NEW |