| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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. |
| 4 |
| 5 // API for integration testing. To be used on test images with a test component |
| 6 // extension. |
| 7 [nodoc] namespace autotestPrivate { |
| 8 |
| 9 callback LoginStatusCallback = void (DOMString status); |
| 10 |
| 11 interface Functions { |
| 12 // Logout of a user session. |
| 13 static void logout(); |
| 14 |
| 15 // Restart the browser. |
| 16 static void restart(); |
| 17 |
| 18 // Shutdown the browser. |
| 19 // |force|: if set, ignore ongoing downloads and onunbeforeunload handlers. |
| 20 static void shutdown(boolean force); |
| 21 |
| 22 // Get login status. |
| 23 static void loginStatus(LoginStatusCallback callback); |
| 24 }; |
| 25 }; |
| OLD | NEW |