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

Unified Diff: chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js

Issue 823543003: AppView: Fix owner_extension_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | extensions/browser/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
diff --git a/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
index 2430c37a987f14ed1830a08f10838ff347af85ac..8bbdd6e9434d9c7d4fac985c0e83d019d974c701 100644
--- a/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
+++ b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
@@ -3,6 +3,8 @@
// found in the LICENSE file.
chrome.app.runtime.onEmbedRequested.addListener(function(request) {
+ if (!request.embedderId)
+ request.deny();
if (!request.data.foo) {
request.allow('main.html');
return;
« no previous file with comments | « no previous file | extensions/browser/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698