Chromium Code Reviews| Index: chrome/test/data/extensions/platform_apps/example/basic/background.js |
| diff --git a/chrome/test/data/extensions/platform_apps/example/basic/background.js b/chrome/test/data/extensions/platform_apps/example/basic/background.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..13d9f997559ab539a9df5ba6d062df3dfc0900bd |
| --- /dev/null |
| +++ b/chrome/test/data/extensions/platform_apps/example/basic/background.js |
| @@ -0,0 +1,9 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// 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('window.html'); |
| +}); |
| + |