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

Side by Side Diff: native_client_sdk/src/examples/resources/manifest.json.template

Issue 14500010: [NaCl SDK] Google Drive example (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove key from build_app generated manifest Created 7 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "name": "{{name}}", 2 "name": "{{name}}",
3 "version": "{{version}}", 3 "version": "{{version}}",
4 "manifest_version": 2, 4 "manifest_version": 2,
5 "description": "{{description}}", 5 "description": "{{description}}",
6 "offline_enabled": true, 6 "offline_enabled": true,
7 "icons": { 7 "icons": {
8 "128": "icon128.png" 8 "128": "icon128.png"
9 }, 9 },
10 "app": { 10 "app": {
11 "background": { 11 "background": {
12 "scripts": ["background.js"] 12 "scripts": ["background.js"]
13 } 13 }
14 }, 14 },
15 [[if key:]]
16 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMN716Qyu0l2EHNFqIJVqVysFcTR6urq haGGqW4UK7slBaURz9+Sb1b4Ot5P1uQNE5c+CTU5Vu61wpqmSqMMxqHLWdPPMh8uRlyctsb2cxWwG6Xo GSvpX29NsQVUFXd4v2tkJm3G9t+V0X8TYskrvWQmnyOW8OEIDvrBhUEfFxWQIDAQAB",
17 [[]]
18 "oauth2": {
19 "client_id": "903965034255.apps.googleusercontent.com",
20 "scopes": ["https://www.googleapis.com/auth/drive"]
21 },
15 "permissions": [ 22 "permissions": [
16 [[if permissions:]] 23 [[if permissions:]]
17 [[ for i, perm in enumerate(permissions):]] 24 [[ for i, perm in enumerate(permissions):]]
18 "{{perm}}"{{(i != len(permissions) - 1) and ',' or ''}} 25 "{{perm}}"{{(i != len(permissions) - 1) and ',' or ''}}
19 [[]] 26 [[]]
20 ] 27 ]
21 } 28 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/demo/drive/index.html ('k') | native_client_sdk/src/tools/common.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698