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

Issue 933423002: Push API: Don't reveal whether incognito mode is active. (Closed)

Created:
5 years, 10 months ago by johnme
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@snippet
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Push API: Don't reveal whether incognito mode is active. BUG=401439 Committed: https://crrev.com/4cf440af4e02b4b380a751db26faee10f2e7e524 Cr-Commit-Position: refs/heads/master@{#317108}

Patch Set 1 #

Patch Set 2 : Fix typo (return -> break) #

Total comments: 3

Patch Set 3 : Explicitly check for incognito mode #

Total comments: 4

Patch Set 4 : Add TODO suggested by mlamouri #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -15 lines) Patch
M content/browser/push_messaging/push_messaging_message_filter.cc View 1 2 3 8 chunks +50 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
johnme
5 years, 10 months ago (2015-02-18 21:33:27 UTC) #2
Michael van Ouwerkerk
Drive-by lgtm with nit https://codereview.chromium.org/933423002/diff/20001/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/933423002/diff/20001/content/browser/push_messaging/push_messaging_message_filter.cc#newcode317 content/browser/push_messaging/push_messaging_message_filter.cc:317: // Prevent websites from detecting ...
5 years, 10 months ago (2015-02-19 11:15:28 UTC) #4
mlamouri (slow - plz ping)
https://codereview.chromium.org/933423002/diff/20001/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/933423002/diff/20001/content/browser/push_messaging/push_messaging_message_filter.cc#newcode317 content/browser/push_messaging/push_messaging_message_filter.cc:317: // Prevent websites from detecting incognito mode, by emulating ...
5 years, 10 months ago (2015-02-19 11:20:16 UTC) #5
johnme
As suggested, it now checks for incognito mode, and continues to throw otherwise. https://codereview.chromium.org/933423002/diff/20001/content/browser/push_messaging/push_messaging_message_filter.cc File ...
5 years, 10 months ago (2015-02-19 15:27:13 UTC) #6
johnme
Explicitly check for incognito mode
5 years, 10 months ago (2015-02-19 15:28:36 UTC) #8
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/933423002/diff/40001/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/933423002/diff/40001/content/browser/push_messaging/push_messaging_message_filter.cc#newcode325 content/browser/push_messaging/push_messaging_message_filter.cc:325: BrowserThread::PostTask( TODO: we might want to not expose ...
5 years, 10 months ago (2015-02-19 16:14:52 UTC) #9
Michael van Ouwerkerk
lgtm
5 years, 10 months ago (2015-02-19 16:16:57 UTC) #10
johnme
Thanks for reviews :) https://codereview.chromium.org/933423002/diff/40001/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/933423002/diff/40001/content/browser/push_messaging/push_messaging_message_filter.cc#newcode325 content/browser/push_messaging/push_messaging_message_filter.cc:325: BrowserThread::PostTask( On 2015/02/19 16:14:51, Mounir ...
5 years, 10 months ago (2015-02-19 16:19:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933423002/60001
5 years, 10 months ago (2015-02-19 16:20:25 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_rel_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_rel_tests_recipe/builds/3492)
5 years, 10 months ago (2015-02-19 17:57:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933423002/60001
5 years, 10 months ago (2015-02-19 19:00:56 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-19 19:48:47 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 19:49:27 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4cf440af4e02b4b380a751db26faee10f2e7e524
Cr-Commit-Position: refs/heads/master@{#317108}

Powered by Google App Engine
This is Rietveld 408576698