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

Unified Diff: chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback, less hacky Created 6 years, 7 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/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc
diff --git a/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc b/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc
index 52fe000eb523e180e47cb8aef1f69f435ab1f57d..403bddb9a2f45290e43e92d0df80a3132065fcbd 100644
--- a/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc
+++ b/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc
@@ -385,7 +385,7 @@ bool AppCurrentWindowInternalSetShapeFunction::RunWithWindow(
"E06AFCB1EB0EFD237824CC4AC8FDD3D43E8BC868"
};
if (GetCurrentChannel() > chrome::VersionInfo::CHANNEL_DEV &&
- !SimpleFeature::IsIdInWhitelist(
+ !SimpleFeature::IsIdInList(
GetExtension()->id(),
std::set<std::string>(whitelist,
whitelist + arraysize(whitelist)))) {

Powered by Google App Engine
This is Rietveld 408576698