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

Unified Diff: chrome/browser/resources/gaia_auth/manifest.json

Issue 13872010: cros: Add a header for gaia auth requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, comments in #1 Created 7 years, 8 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/browser/resources/gaia_auth/manifest.json
diff --git a/chrome/browser/resources/gaia_auth/manifest.json b/chrome/browser/resources/gaia_auth/manifest.json
index 0606736a580c9d77c212cf7ad3e786f5b4aba655..123e8311fa21c8135a1b38a989e664da2d284518 100644
--- a/chrome/browser/resources/gaia_auth/manifest.json
+++ b/chrome/browser/resources/gaia_auth/manifest.json
@@ -4,7 +4,7 @@
"name": "GaiaAuthExtension",
"version": "0.0.1",
"manifest_version": 2,
- "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *; style-src 'self' 'unsafe-inline'",
+ "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *; style-src 'self'",
"description": "GAIA Component Extension",
"web_accessible_resources": [
"main.css",
@@ -17,12 +17,15 @@
"success.js",
"util.js"
],
- // cookies for getting hash passed back from GAIA on login success
- // tabs for calling current webui's login. This might not be needed once
- // we have extension API
+ "background": {
+ "scripts": ["background.js"]
+ },
+ // background, webRequest and host rules to set additional http header for
+ // request sent from sub frame.
"permissions": [
- "cookies",
- "tabs",
- "chrome://oobe/"
+ "background",
+ "webRequest",
+ "webRequestBlocking",
+ "<all_urls>"
]
}

Powered by Google App Engine
This is Rietveld 408576698