OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 // Fake data similar to a file system structure. | 7 // Fake data similar to a file system structure. |
8 var MODIFICATION_DATE = new Date(); | 8 var MODIFICATION_DATE = new Date(); |
9 var SHORT_CONTENTS = 'Just another example.'; | 9 var SHORT_CONTENTS = 'Just another example.'; |
10 var LONGER_CONTENTS = 'It works!\nEverything gets displayed correctly.'; | 10 var LONGER_CONTENTS = 'It works!\nEverything gets displayed correctly.'; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 chrome.fileSystemProvider.onGetMetadataRequested.addListener( | 110 chrome.fileSystemProvider.onGetMetadataRequested.addListener( |
111 onGetMetadataRequested); | 111 onGetMetadataRequested); |
112 chrome.fileSystemProvider.onReadDirectoryRequested.addListener( | 112 chrome.fileSystemProvider.onReadDirectoryRequested.addListener( |
113 onReadDirectoryRequested); | 113 onReadDirectoryRequested); |
114 chrome.fileSystemProvider.onOpenFileRequested.addListener( | 114 chrome.fileSystemProvider.onOpenFileRequested.addListener( |
115 onOpenFileRequested); | 115 onOpenFileRequested); |
116 chrome.fileSystemProvider.onCloseFileRequested.addListener( | 116 chrome.fileSystemProvider.onCloseFileRequested.addListener( |
117 onCloseFileRequested); | 117 onCloseFileRequested); |
118 chrome.fileSystemProvider.onReadFileRequested.addListener( | 118 chrome.fileSystemProvider.onReadFileRequested.addListener( |
119 onReadFileRequested); | 119 onReadFileRequested); |
OLD | NEW |