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

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

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: Use Event structure 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 #ifndef CHROME_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_
7
8 namespace extensions {
9 namespace api {
10 namespace webstore {
11
12 // An enum for listener types. This is used when creating/reading the mask for
13 // IPC messages.
14 enum ListenerType {
15 INSTALL_STAGE_LISTENER = 1,
16 DOWNLOAD_PROGRESS_LISTENER
17 };
18
19 extern const char kInstallStageDownloading[];
20 extern const char kInstallStageInstalling[];
21 extern const char kOnInstallStageChangedMethodName[];
22 extern const char kOnDownloadProgressMethodName[];
23
24 } // namespace webstore
25 } // namespace api
26 } // namespace extensions
27
28 #endif // CHROME_COMMON_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698