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

Unified Diff: chrome/common/extensions/api/tabs.json

Issue 569803004: Allow "url" to be an array of URL patterns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: chrome/common/extensions/api/tabs.json
diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json
index 27a01f9b13b6ba403e0d4619c1c054b8511ab59a..374ac1d21df2f832c40b8d1b5c2e31f78e4480f6 100644
--- a/chrome/common/extensions/api/tabs.json
+++ b/chrome/common/extensions/api/tabs.json
@@ -374,7 +374,10 @@
"description": "Match page titles against a pattern."
},
"url": {
- "type": "string",
+ "choices": [
+ {"type": "string"},
+ {"type": "array", "items": {"type": "string"}}
+ ],
"optional": true,
"description": "Match tabs against a <a href='match_patterns'>URL pattern</a>. Note that fragment identifiers are not matched."
Yoyo Zhou 2014/09/18 20:53:37 Please update this.
robwu 2014/09/18 22:23:18 Done.
},
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/test/data/extensions/api_test/tabs/basics/query.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698