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

Side by Side Diff: extensions/common/api/_api_features.json

Issue 2166523003: Add ref count to service workers for extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address test comments + rename public methods 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This features file defines extension APIs implemented under src/extensions. 5 // This features file defines extension APIs implemented under src/extensions.
6 // See chrome/common/extensions/api/_features.md to understand this file, as 6 // See chrome/common/extensions/api/_features.md to understand this file, as
7 // well as feature.h, simple_feature.h, and base_feature_provider.h. 7 // well as feature.h, simple_feature.h, and base_feature_provider.h.
8 // 8 //
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc.
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 }, 389 },
390 "test": [{ 390 "test": [{
391 "channel": "stable", 391 "channel": "stable",
392 "extension_types": "all", 392 "extension_types": "all",
393 // Everything except web pages and WebUI. WebUI is declared in a separate 393 // Everything except web pages and WebUI. WebUI is declared in a separate
394 // rule to keep the "matches" property isolated. 394 // rule to keep the "matches" property isolated.
395 "contexts": [ 395 "contexts": [
396 "blessed_extension", 396 "blessed_extension",
397 "blessed_web_page", 397 "blessed_web_page",
398 "content_script", 398 "content_script",
399 "extension_service_worker",
399 "unblessed_extension" 400 "unblessed_extension"
400 ] 401 ]
401 }, { 402 }, {
402 "channel": "stable", 403 "channel": "stable",
403 "contexts": ["webui"], 404 "contexts": ["webui"],
404 "matches": [ 405 "matches": [
405 "chrome://extensions/*", 406 "chrome://extensions/*",
406 "chrome://extensions-frame/*", 407 "chrome://extensions-frame/*",
407 "chrome://chrome/extensions/*" 408 "chrome://chrome/extensions/*"
408 ] 409 ]
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 }, { 468 }, {
468 "channel": "stable", 469 "channel": "stable",
469 "contexts": ["webui"], 470 "contexts": ["webui"],
470 "matches": [ 471 "matches": [
471 "chrome://chrome-signin/*", 472 "chrome://chrome-signin/*",
472 "chrome://media-router/*", 473 "chrome://media-router/*",
473 "chrome://oobe/*" 474 "chrome://oobe/*"
474 ] 475 ]
475 }] 476 }]
476 } 477 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698