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

Unified Diff: chrome/test/data/chromeos/app_mode/offline_enabled_app_profile/Extensions/ajoggoflpgplnnjkjamcmbepjdjdnpdp/1.0.0_0/main.js

Issue 300843013: Install and launch kiosk app from cached crx file at start up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the useless offline_enabled_app_profile testing data. Created 6 years, 5 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/chromeos/app_mode/offline_enabled_app_profile/Extensions/ajoggoflpgplnnjkjamcmbepjdjdnpdp/1.0.0_0/main.js
diff --git a/chrome/test/data/chromeos/app_mode/offline_enabled_app_profile/Extensions/ajoggoflpgplnnjkjamcmbepjdjdnpdp/1.0.0_0/main.js b/chrome/test/data/chromeos/app_mode/offline_enabled_app_profile/Extensions/ajoggoflpgplnnjkjamcmbepjdjdnpdp/1.0.0_0/main.js
deleted file mode 100644
index e17c8196406027a7e714cbb5e3e592c470cf9954..0000000000000000000000000000000000000000
--- a/chrome/test/data/chromeos/app_mode/offline_enabled_app_profile/Extensions/ajoggoflpgplnnjkjamcmbepjdjdnpdp/1.0.0_0/main.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2013 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(launchData) {
- if (launchData.isKioskSession)
- chrome.test.sendMessage('launchData.isKioskSession = true');
- if (chrome.power)
- chrome.power.requestKeepAwake('display');
- else
- chrome.experimental.power.requestKeepAwake(function() {});
-
- chrome.app.window.create('app_main.html',
- { 'width': 1920,
- 'height': 1080 },
- function(window) {
- window.close();
- });
-});

Powered by Google App Engine
This is Rietveld 408576698