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

Issue 2639263002: android: Check GSA's broadcast permission. (Closed)

Created:
3 years, 11 months ago by Benoit L
Modified:
3 years, 11 months ago
Reviewers:
Ted C, Yusuf
CC:
chromium-reviews, agrieve+watch_chromium.org, Ted C
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Check GSA's broadcast permission. GSA can either notify Chrome of account changes through a service, or through a broadcast. The broadcast requires a permission to be granted to Chrome in order to receive it. This commit adds a check in Chrome that the permission is granted before switching to it. BUG=614388 Review-Url: https://codereview.chromium.org/2639263002 Cr-Commit-Position: refs/heads/master@{#445075} Committed: https://chromium.googlesource.com/chromium/src/+/b34883d3328151ed5f81aa7ec8607b401d39d088

Patch Set 1 #

Total comments: 2

Patch Set 2 : Thanks, Ted! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java View 1 2 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Benoit L
3 years, 11 months ago (2017-01-18 15:00:08 UTC) #2
Benoit L
-R: tedchoc +R: yusufo Now that I got the power, no need to nag Ted ...
3 years, 11 months ago (2017-01-19 17:29:14 UTC) #4
Ted C
now, that I'm not the reviewer :-P https://codereview.chromium.org/2639263002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java File chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java (right): https://codereview.chromium.org/2639263002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java#newcode125 chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java:125: try { ...
3 years, 11 months ago (2017-01-19 17:55:05 UTC) #6
Benoit L
Thanks! https://codereview.chromium.org/2639263002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java File chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java (right): https://codereview.chromium.org/2639263002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java#newcode125 chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAAccountChangeListener.java:125: try { On 2017/01/19 17:55:05, Ted C wrote: ...
3 years, 11 months ago (2017-01-20 13:09:52 UTC) #7
Ted C
lgtm
3 years, 11 months ago (2017-01-20 16:34:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2639263002/20001
3 years, 11 months ago (2017-01-20 16:38:14 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 16:42:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b34883d3328151ed5f81aa7ec860...

Powered by Google App Engine
This is Rietveld 408576698