Index: chrome/browser/resources/gaia_auth/manifest_keyboard.json |
diff --git a/chrome/browser/resources/gaia_auth/manifest_keyboard.json b/chrome/browser/resources/gaia_auth/manifest_keyboard.json |
index 12974d748336a51d0d73d33a2579b59eda1cdd6d..99c03c44928b4d67b8c32b6522dccd974e5d3111 100644 |
--- a/chrome/browser/resources/gaia_auth/manifest_keyboard.json |
+++ b/chrome/browser/resources/gaia_auth/manifest_keyboard.json |
@@ -4,9 +4,19 @@ |
"name": "GaiaAuthExtension", |
"version": "0.0.1", |
"manifest_version": 2, |
+ "background" : { |
+ "scripts": ["background.js", "channel.js"] |
+ }, |
"content_scripts": [ |
{ |
"matches": [ |
+ "<all_urls>" |
+ ], |
+ "js": ["channel.js", "saml_injected.js"], |
+ "all_frames": true |
+ }, |
+ { |
+ "matches": [ |
"https://www.google.com/accounts/*", |
"https://accounts.google.com/*" |
], |
@@ -27,14 +37,9 @@ |
"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 |
"permissions": [ |
- "cookies", |
- "tabs", |
- "chrome://oobe/", |
- "https://www.google.com/accounts/*", |
- "https://accounts.google.com/*" |
+ "<all_urls>", |
+ "webRequest", |
+ "webRequestBlocking" |
] |
} |