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

Issue 2862153002: [Android, Cast] Get the notification origin from the correct tab. (Closed)

Created:
3 years, 7 months ago by whywhat
Modified:
3 years, 7 months ago
Reviewers:
dgn
CC:
agrieve+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android, Cast] Get the notification origin from the correct tab. BUG=691577 TEST=existing tests Review-Url: https://codereview.chromium.org/2862153002 Cr-Commit-Position: refs/heads/master@{#470192} Committed: https://chromium.googlesource.com/chromium/src/+/21e42d8f013f59f7764b466f05c7433640eae1b2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Set the origin when the notification is updated. #

Patch Set 3 : Set the origin when a route is selected #

Total comments: 1

Patch Set 4 : Marked mTabOrigin as nullable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java View 1 2 3 4 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
whywhat
3 years, 7 months ago (2017-05-04 23:59:04 UTC) #3
dgn
https://codereview.chromium.org/2862153002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java (right): https://codereview.chromium.org/2862153002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java#newcode74 chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java:74: sInstance.mOrigin = getCurrentTabOrigin(activity); Hum... here the origin is set ...
3 years, 7 months ago (2017-05-05 10:39:38 UTC) #7
whywhat
https://codereview.chromium.org/2862153002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java (right): https://codereview.chromium.org/2862153002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java#newcode74 chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java:74: sInstance.mOrigin = getCurrentTabOrigin(activity); On 2017/05/05 at 10:39:38, dgn wrote: ...
3 years, 7 months ago (2017-05-05 14:37:23 UTC) #8
whywhat
Set the origin when the notification is updated.
3 years, 7 months ago (2017-05-05 15:47:45 UTC) #9
whywhat
Set the origin when a route is selected
3 years, 7 months ago (2017-05-05 19:13:42 UTC) #10
whywhat
PTAL I now save the origin of the current tab as soon as the device ...
3 years, 7 months ago (2017-05-05 19:15:11 UTC) #11
dgn
Thanks! lgtm https://codereview.chromium.org/2862153002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java (right): https://codereview.chromium.org/2862153002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java#newcode51 chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java:51: private String mTabOrigin = null; nit: Don't ...
3 years, 7 months ago (2017-05-08 09:34:44 UTC) #16
whywhat
Marked mTabOrigin as nullable
3 years, 7 months ago (2017-05-08 20:49:45 UTC) #17
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/2862153002/60001
3 years, 7 months ago (2017-05-08 20:50:43 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 04:16:12 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/21e42d8f013f59f7764b466f05c7...

Powered by Google App Engine
This is Rietveld 408576698