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

Unified Diff: chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another merge before retrying commit. Created 8 years, 4 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/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js
diff --git a/chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js b/chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js
index d1439b2981b76d2faf5371e644d13f70c6181147..bc4dc4728c53026d225d4a6b6dbd6f14a8328868 100644
--- a/chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js
+++ b/chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function onLaunched() {
+chrome.app.runtime.onLaunched.addListener(function () {
chrome.app.window.create('test.html');
-}
-
-chrome.experimental.app.onLaunched.addListener(onLaunched);
+});

Powered by Google App Engine
This is Rietveld 408576698