| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 chrome.test.runTests([ | 5 chrome.test.runTests([ |
| 6 function openFile() { | 6 function openFile() { |
| 7 chrome.fileSystem.chooseFile(chrome.test.callbackPass(function(entry) { | 7 chrome.fileSystem.chooseEntry(chrome.test.callbackPass(function(entry) { |
| 8 checkEntry(entry, 'open_existing.txt', false, false); | 8 checkEntry(entry, 'open_existing.txt', false, false); |
| 9 })); | 9 })); |
| 10 } | 10 } |
| 11 ]); | 11 ]); |
| OLD | NEW |