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

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

Issue 17412009: Identification via OAuth tokens (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/browser/resources/google_now/manifest.json
diff --git a/chrome/browser/resources/google_now/manifest.json b/chrome/browser/resources/google_now/manifest.json
index b9cc44179f906269c12934ca9d9fec88dbf3774f..f94183fc31703dc635759cf0f96eed636c8a051d 100644
--- a/chrome/browser/resources/google_now/manifest.json
+++ b/chrome/browser/resources/google_now/manifest.json
@@ -14,7 +14,8 @@
"storage",
"tabs",
"metricsPrivate",
- "preferencesPrivate"
+ "preferencesPrivate",
+ "identity"
],
"manifest_version": 2,
"background": {
@@ -22,5 +23,9 @@
"persistent": false
},
// TODO(vadimt): Remove using chrome.omnibox.
- "omnibox": { "keyword" : "gn_url" }
+ "omnibox": { "keyword" : "gn_url" },
+ "oauth2": {
+ "auto_approve": true,
+ "scopes": ["https://www.googleapis.com/auth/googlenow"]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698