| Index: chrome/common/extensions/api/extension_api.json | 
| =================================================================== | 
| --- chrome/common/extensions/api/extension_api.json	(revision 93731) | 
| +++ chrome/common/extensions/api/extension_api.json	(working copy) | 
| @@ -5176,6 +5176,26 @@ | 
| } | 
| }, | 
| { | 
| +        "id": "MountPointInfo", | 
| +        "type": "object", | 
| +        "description": "Mounted point information.", | 
| +        "properties": { | 
| +          "mountPath": { | 
| +            "type": "string", | 
| +            "description": "Disk volume mount point path. The value corresponds to its Entry.fullPath in File API." | 
| +          }, | 
| +          "sourcePath": { | 
| +            "type": "string", | 
| +            "description": "The path to the mounted resource. Either a device path, or a path to an archive file." | 
| +          }, | 
| +          "mountType": { | 
| +            "type": "string", | 
| +            "enum": ["device", "file", "network"], | 
| +            "description": "Type of the mount." | 
| +          } | 
| +        } | 
| +      }, | 
| +      { | 
| "id": "VolumeMetadata", | 
| "type": "object", | 
| "description": "Mounted disk volume metadata.", | 
| @@ -5248,6 +5268,39 @@ | 
| } | 
| }, | 
| { | 
| +        "id": "MountCompletedEvent", | 
| +        "type": "object", | 
| +        "description": "Payload data for mount event.", | 
| +        "properties": { | 
| +          "eventType": { | 
| +            "type": "string", | 
| +            "enum": ["mount", "unmount"], | 
| +            "description": "Is the event raised for mounting or unmounting." | 
| +          }, | 
| +          "status": { | 
| +            "type": "string", | 
| +            "enum": ["success", "error_unknown", "error_internal", | 
| +                     "error_unknown_filesystem", "error_unsuported_filesystem", | 
| +                     "error_invalid_archive", "error_libcros_missing"], | 
| +            "description": "Event type that tells listeners if mount was successfull or an error occurred. It also specifies the error." | 
| +          }, | 
| +          "sourcePath": { | 
| +            "type": "string", | 
| +            "description": "Path that has been mounted." | 
| +          }, | 
| +          "mountPath": { | 
| +            "type": "string", | 
| +            "optional": true, | 
| +            "description": "Path that sourcePath was mounted to." | 
| +          }, | 
| +          "mountType": { | 
| +            "type": "string", | 
| +            "enum": ["device", "file", "network"], | 
| +            "description": "Type of the mount." | 
| +          } | 
| +        } | 
| +      }, | 
| +      { | 
| "id": "FileWatchEvent", | 
| "type": "object", | 
| "description": "Payload data for disk mount / unmount event.", | 
| @@ -5481,15 +5534,48 @@ | 
| ] | 
| }, | 
| { | 
| -        "name": "unmountVolume", | 
| -        "description": "Unmounts specified volume", | 
| +        "name": "addMount", | 
| +        "type": "function", | 
| +        "description": "Mount a resource or a file.", | 
| "parameters": [ | 
| { | 
| -            "name": "devicePath", | 
| +            "name": "source", | 
| "type": "string", | 
| -            "description": "Device path of the volume." | 
| +            "description": "Mount point source. For compressed files it is relative file path within external file system" | 
| +          }, | 
| +          { | 
| +            "name": "mountType", | 
| +            "type": "string", | 
| +            "enum": ["device", "file", "network"], | 
| +            "description": "Mount point type. 'file' for compressed files" | 
| +          }, | 
| +          { | 
| +            "name": "options", | 
| +            "type": "object", | 
| +            "description": "Name/value pairs for source specific options", | 
| +            "optional": "true" | 
| } | 
| ] | 
| +      }, | 
| +      { | 
| +        "name": "removeMount", | 
| +        "description": "Unmounts a mounted resource.", | 
| +        "parameters": [ | 
| +          { | 
| +            "name": "mountPath", | 
| +            "type": "string", | 
| +            "description": "A path of the mount." | 
| +          } | 
| +        ] | 
| +      }, | 
| +      { | 
| +        "name": "getMountPoints", | 
| +        "description": "Get the list of mount points.", | 
| +        "returns": { | 
| +          "type": "object", | 
| +          "items": {"$ref": "MountPointInfo"}, | 
| +          "description": "The dictionary with mount point paths as elements and MountPointInfo as values." | 
| +        } | 
| } | 
| ], | 
| "events": [ | 
| @@ -5506,6 +5592,18 @@ | 
| ] | 
| }, | 
| { | 
| +        "name": "onMountCompleted", | 
| +        "type": "function", | 
| +        "description": "Fired when mount event is detected.", | 
| +        "parameters": [ | 
| +          { | 
| +            "$ref": "MountCompletedEvent", | 
| +            "name": "event", | 
| +            "description": "MountCompleted event information." | 
| +          } | 
| +        ] | 
| +      }, | 
| +      { | 
| "name": "onFileChanged", | 
| "type": "function", | 
| "description": "Fired when watched file change event is detected.", | 
| @@ -6385,7 +6483,7 @@ | 
| "title": { | 
| "type": "string", | 
| "optional": true, | 
| -                "description": "The title of the notification." | 
| +                "description": "The title of the notification." | 
| }, | 
| "bodyText": { | 
| "type": "string", | 
|  |