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

Issue 10946011: Switch CaptivePortalTabHelper to use WebContentsUserData. (Closed)

Created:
8 years, 3 months ago by Avi (use Gerrit)
Modified:
8 years, 3 months ago
Reviewers:
shinobisms, Ben Goodger (Google), mmenke
CC:
chromium-reviews, creis+watch_chromium.org, ajwong+watch_chromium.org
Visibility:
Public.

Description

Switch CaptivePortalTabHelper to use WebContentsUserData. BUG=107201 TEST=no visible change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157613

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix #

Patch Set 4 : rebase #

Total comments: 9

Patch Set 5 : fixing, rebase #

Total comments: 2

Patch Set 6 : rearranging the .h #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -35 lines) Patch
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.h View 1 2 3 4 5 4 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.cc View 1 2 3 4 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents.h View 1 2 3 4 5 6 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Avi (use Gerrit)
Please review.
8 years, 3 months ago (2012-09-18 21:25:24 UTC) #1
mmenke
http://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_browsertest.cc File chrome/browser/captive_portal/captive_portal_browsertest.cc (right): http://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_browsertest.cc#newcode489 chrome/browser/captive_portal/captive_portal_browsertest.cc:489: tab_contents->web_contents())->IsLoginTab(); nit: We're in the captive_portal namespace, so no ...
8 years, 3 months ago (2012-09-19 16:11:30 UTC) #2
Avi (use Gerrit)
Updated. https://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_tab_helper.cc File chrome/browser/captive_portal/captive_portal_tab_helper.cc (right): https://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_tab_helper.cc#newcode28 chrome/browser/captive_portal/captive_portal_tab_helper.cc:28: int captive_portal::CaptivePortalTabHelper::kUserDataKey; On 2012/09/19 16:11:30, Matt Menke wrote: ...
8 years, 3 months ago (2012-09-19 16:41:27 UTC) #3
mmenke
LGTM, modulo comments https://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_tab_helper.h File chrome/browser/captive_portal/captive_portal_tab_helper.h (right): https://codereview.chromium.org/10946011/diff/10001/chrome/browser/captive_portal/captive_portal_tab_helper.h#newcode104 chrome/browser/captive_portal/captive_portal_tab_helper.h:104: static int kUserDataKey; On 2012/09/19 16:41:27, ...
8 years, 3 months ago (2012-09-19 16:52:21 UTC) #4
Avi (use Gerrit)
I cluster those three: constructor userdatakey friend wcud as they're the three pieces that turn ...
8 years, 3 months ago (2012-09-19 19:21:17 UTC) #5
shinobisms
lgtm
8 years, 3 months ago (2012-09-19 19:23:29 UTC) #6
Avi (use Gerrit)
If you insist I'll switch it, but I'd rather cluster things conceptually than literally follow ...
8 years, 3 months ago (2012-09-19 19:28:41 UTC) #7
mmenke
On 2012/09/19 19:21:17, Avi wrote: > I cluster those three: > > constructor > userdatakey ...
8 years, 3 months ago (2012-09-19 19:29:19 UTC) #8
Avi (use Gerrit)
Done.
8 years, 3 months ago (2012-09-19 19:33:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10946011/13002
8 years, 3 months ago (2012-09-19 19:33:10 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/tab_contents/tab_contents.h: While running patch -p1 --forward --force; patching file chrome/browser/ui/tab_contents/tab_contents.h ...
8 years, 3 months ago (2012-09-19 19:33:13 UTC) #11
shinobisms
On 2012/09/19 19:23:29, shinobisms wrote: > lgtm
8 years, 3 months ago (2012-09-19 19:33:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10946011/14003
8 years, 3 months ago (2012-09-19 19:41:19 UTC) #13
commit-bot: I haz the power
Presubmit check for 10946011-14003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-19 19:41:22 UTC) #14
Ben Goodger (Google)
lgtm
8 years, 3 months ago (2012-09-19 19:45:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10946011/14003
8 years, 3 months ago (2012-09-19 19:48:22 UTC) #16
commit-bot: I haz the power
8 years, 3 months ago (2012-09-19 21:36:25 UTC) #17
Change committed as 157613

Powered by Google App Engine
This is Rietveld 408576698