Index: chrome/browser/extensions/extension_tabs_module.cc |
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc |
index 71d3b83233ddd2b9e28e3c0de505a5170dbc1290..5f33e3a113317cc1bbe087266bcb6931ce54522a 100644 |
--- a/chrome/browser/extensions/extension_tabs_module.cc |
+++ b/chrome/browser/extensions/extension_tabs_module.cc |
@@ -727,6 +727,9 @@ bool QueryTabsFunction::RunImpl() { |
loading = (status == keys::kStatusValueLoading) ? MATCH_TRUE : MATCH_FALSE; |
} |
+ // It is o.k. to use URLPattern::SCHEME_ALL here because this function does |
+ // not grant access to the content of the tabs, only to seeing their URLs and |
+ // meta data. |
URLPattern url_pattern(URLPattern::SCHEME_ALL, "<all_urls>"); |
if (query->HasKey(keys::kUrlKey)) { |
std::string value; |