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

Unified Diff: chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example2.fake

Issue 360673004: Demonstrate the functionality of the File System Provider API for archives. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split readMetadataFromFile function in order to make the code more readable and correct some commen… Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example2.fake
diff --git a/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example2.fake b/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example2.fake
new file mode 100644
index 0000000000000000000000000000000000000000..fd25f11f6ef2d4997a4906a6d3f486d269350407
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/example2.fake
@@ -0,0 +1,15 @@
+{
+ "/":{
+ "isDirectory":true,
+ "name":"/",
+ "size":0,
+ "modificationTime":"2014-06-26T08:47:11.591Z"
+ },
+ "/file.txt":{
+ "isDirectory":false,
+ "name":"file.txt",
+ "size":9,
+ "modificationTime":"2014-06-26T08:47:11.591Z",
+ "contents":"It works!"
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698