Index: chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js |
diff --git a/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js |
similarity index 63% |
copy from chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js |
copy to chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js |
index 44edeac767614539433a40ef0497254cca60f790..3b58b2f02ceac4df645d9081241f9ea38a187c82 100644 |
--- a/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js |
+++ b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.app.runtime.onLaunched.addListener(function () { |
- chrome.app.window.create('test.html'); |
+chrome.app.runtime.onEmbedRequested.addListener(function(request) { |
+ request.allow('main.html'); |
}); |