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

Side by Side Diff: chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example1.fake

Issue 1138503005: Fix examples for File System Provider API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing callbacks. Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "/": { 2 "/": {
3 "isDirectory": true, 3 "isDirectory": true,
4 "name": "/", 4 "name": "",
5 "size": 0, 5 "size": 0,
6 "modificationTime": "2014-06-26T08:47:11.591Z" 6 "modificationTime": "2014-06-26T08:47:11.591Z"
7 }, 7 },
8 "/file1.txt": { 8 "/file1.txt": {
9 "isDirectory": false, 9 "isDirectory": false,
10 "name": "file1.txt", 10 "name": "file1.txt",
11 "size": 46, 11 "size": 46,
12 "modificationTime": "2014-06-26T08:47:11.591Z", 12 "modificationTime": "2014-06-26T08:47:11.591Z",
13 "contents": "It works!\nEverything gets displayed correctly." 13 "contents": "It works!\nEverything gets displayed correctly."
14 }, 14 },
(...skipping 10 matching lines...) Expand all
25 "modificationTime": "2014-06-26T08:47:11.591Z" 25 "modificationTime": "2014-06-26T08:47:11.591Z"
26 }, 26 },
27 "/dir/file3.txt": { 27 "/dir/file3.txt": {
28 "isDirectory": false, 28 "isDirectory": false,
29 "name": "file3.txt", 29 "name": "file3.txt",
30 "size": 21, 30 "size": 21,
31 "modificationTime": "2014-06-26T08:47:11.591Z", 31 "modificationTime": "2014-06-26T08:47:11.591Z",
32 "contents": "Just another example." 32 "contents": "Just another example."
33 } 33 }
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698