[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / chrome / test / data / extensions / platform_apps / restart_device / main.js
blob1592361127ecc742cd26f2be1fcac536104fe0e6
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 chrome.test.sendMessage('Launched', function(response) {
6 if (response == "restart") {
7 chrome.runtime.restart();
8 chrome.test.sendMessage('restartRequested');
10 });