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

Issue 11414018: [zoom bubble] Add tests for ZoomController::UpdateState() handling empty hosts. (Closed)

Created:
8 years, 1 month ago by Dan Beam
Modified:
8 years, 1 month ago
Reviewers:
Lei Zhang, Evan Stade
CC:
chromium-reviews
Visibility:
Public.

Description

[zoom bubble] Add tests for ZoomController::UpdateState() handling empty hosts. R=estade@chromium.org BUG=161388 TEST=unit_tests --gtest_filter='ZoomControllerTest.*' passes on bots. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168677

Patch Set 1 #

Patch Set 2 : -extra includes #

Patch Set 3 : --set-upstream and rebase so I can try the code #

Total comments: 7

Patch Set 4 : estade@ review #

Patch Set 5 : refactor #

Total comments: 4

Patch Set 6 : OVERRIDAH #

Patch Set 7 : rebase #

Patch Set 8 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -11 lines) Patch
M chrome/browser/profiles/off_the_record_profile_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -4 lines 0 comments Download
A chrome/browser/ui/zoom/zoom_controller_unittest.cc View 1 2 3 4 5 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Dan Beam
8 years, 1 month ago (2012-11-15 23:22:14 UTC) #1
Dan Beam
https://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller.cc File chrome/browser/ui/zoom/zoom_controller.cc (right): https://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller.cc#newcode82 chrome/browser/ui/zoom/zoom_controller.cc:82: if (!host.empty()) { I included this diff (from: https://codereview.chromium.org/11299014/) ...
8 years, 1 month ago (2012-11-16 04:17:48 UTC) #2
Evan Stade
http://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller_unittest.cc File chrome/browser/ui/zoom/zoom_controller_unittest.cc (right): http://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller_unittest.cc#newcode17 chrome/browser/ui/zoom/zoom_controller_unittest.cc:17: typedef ChromeRenderViewHostTestHarness ZoomControllerTest; instead of just a typedef, create ...
8 years, 1 month ago (2012-11-16 18:34:43 UTC) #3
Dan Beam
+thestig@ for chrome/chrome_tests_unit.gypi http://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller_unittest.cc File chrome/browser/ui/zoom/zoom_controller_unittest.cc (right): http://codereview.chromium.org/11414018/diff/2002/chrome/browser/ui/zoom/zoom_controller_unittest.cc#newcode17 chrome/browser/ui/zoom/zoom_controller_unittest.cc:17: typedef ChromeRenderViewHostTestHarness ZoomControllerTest; On 2012/11/16 18:34:43, ...
8 years, 1 month ago (2012-11-17 01:20:32 UTC) #4
Evan Stade
http://codereview.chromium.org/11414018/diff/1016/chrome/browser/ui/zoom/zoom_controller_unittest.cc File chrome/browser/ui/zoom/zoom_controller_unittest.cc (right): http://codereview.chromium.org/11414018/diff/1016/chrome/browser/ui/zoom/zoom_controller_unittest.cc#newcode36 chrome/browser/ui/zoom/zoom_controller_unittest.cc:36: void SetUp() OVERRIDE { shouldn't this be virtual void ...
8 years, 1 month ago (2012-11-17 01:33:06 UTC) #5
Evan Stade
aside from that, LGTM + thanks for writing test.
8 years, 1 month ago (2012-11-17 01:34:02 UTC) #6
Lei Zhang
lgtm on the .gypi file, though you don't need that anymore per the recent PSA.
8 years, 1 month ago (2012-11-17 01:39:15 UTC) #7
Dan Beam
https://chromiumcodereview.appspot.com/11414018/diff/1016/chrome/browser/ui/zoom/zoom_controller_unittest.cc File chrome/browser/ui/zoom/zoom_controller_unittest.cc (right): https://chromiumcodereview.appspot.com/11414018/diff/1016/chrome/browser/ui/zoom/zoom_controller_unittest.cc#newcode36 chrome/browser/ui/zoom/zoom_controller_unittest.cc:36: void SetUp() OVERRIDE { On 2012/11/17 01:33:06, Evan Stade ...
8 years, 1 month ago (2012-11-17 01:53:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/11414018/9004
8 years, 1 month ago (2012-11-17 01:59:38 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) content_unittests
8 years, 1 month ago (2012-11-17 02:52:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/11414018/6006
8 years, 1 month ago (2012-11-19 22:55:52 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-20 01:06:04 UTC) #12
Change committed as 168677

Powered by Google App Engine
This is Rietveld 408576698