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

Unified Diff: extensions/common/constants.h

Issue 2166523003: Add ref count to service workers for extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync@tott Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/_api_features.json ('k') | extensions/common/constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/constants.h
diff --git a/extensions/common/constants.h b/extensions/common/constants.h
index d3f0b5320983e6a5adfaca8c5a237319563fd881..4e1ef6a974a8733d9034ea4e4bb4f5c30704759d 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -104,6 +104,11 @@ extern const char kAuthUserQueryKey[];
extern const char kMimeTypeJpeg[];
extern const char kMimeTypePng[];
+// TODO(lazyboy): This is a hack and it is copied from service_worker_types.cc,
+// which is not available to extensions/ code. Move the constant to
+// content/public/common.
+extern const int64_t kInvalidServiceWorkerVersionId;
+
// The extension id of the Web Store component application.
extern const char kWebStoreAppId[];
« no previous file with comments | « extensions/common/api/_api_features.json ('k') | extensions/common/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698