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

Issue 10019015: Update uses of TimeDelta in chrome_frame/*. (Closed)

Created:
8 years, 8 months ago by Ted Vessenes
Modified:
8 years, 8 months ago
CC:
chromium-reviews, grt+watch_chromium.org, amit, robertshield, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Update uses of TimeDelta in chrome_frame/*. Also update a bit of TimeDelta use in webkit npapi code. Adding robertshield for his thoughts on this. R=ananta@chromium.org BUG=108171 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133395

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase onto master. #

Total comments: 7

Patch Set 3 : Add requested refactoring. #

Patch Set 4 : Convert a bit of test code as well. #

Patch Set 5 : Another rebase onto master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -54 lines) Patch
M chrome_frame/delete_chrome_history.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/test/automation_client_mock.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome_frame/test/chrome_frame_automation_mock.cc View 1 2 4 chunks +9 lines, -6 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/test/mock_ie_event_sink_actions.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome_frame/test/navigation_test.cc View 1 2 3 13 chunks +19 lines, -15 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/perf/chrome_frame_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/test_server.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/test_server_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/test/ui_test.cc View 1 2 3 9 chunks +38 lines, -14 lines 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl_win.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Ted Vessenes
8 years, 8 months ago (2012-04-09 02:29:43 UTC) #1
Ted Vessenes
Just poking in on this. Do you have time to look at this, or should ...
8 years, 8 months ago (2012-04-13 17:02:44 UTC) #2
ananta
Just some nits and one question. https://chromiumcodereview.appspot.com/10019015/diff/1/chrome_frame/test/automation_client_mock.cc File chrome_frame/test/automation_client_mock.cc (right): https://chromiumcodereview.appspot.com/10019015/diff/1/chrome_frame/test/automation_client_mock.cc#newcode49 chrome_frame/test/automation_client_mock.cc:49: base::TimeDelta::FromMilliseconds(params->launch_timeout()) / 2); ...
8 years, 8 months ago (2012-04-13 17:50:21 UTC) #3
Ted Vessenes
I looked into this and all calls to PostDelayedTask(..., int) expect milliseconds. And I even ...
8 years, 8 months ago (2012-04-15 22:25:23 UTC) #4
ananta
Robert, please take a look at this CL.
8 years, 8 months ago (2012-04-17 00:13:32 UTC) #5
ananta
LGTM from me. Please wait for Robert Shields LGTM.
8 years, 8 months ago (2012-04-17 00:13:57 UTC) #6
grt (UTC plus 2)
LG, nits below. https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/delete_chrome_history.cc File chrome_frame/delete_chrome_history.cc (right): https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/delete_chrome_history.cc#newcode1 chrome_frame/delete_chrome_history.cc:1: // Copyright (c) 2011 The Chromium ...
8 years, 8 months ago (2012-04-17 14:13:32 UTC) #7
Ted Vessenes
I like the idea of storing the delay directly, but I know that creating any ...
8 years, 8 months ago (2012-04-18 01:42:36 UTC) #8
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/test/chrome_frame_automation_mock.cc File chrome_frame/test/chrome_frame_automation_mock.cc (right): https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/test/chrome_frame_automation_mock.cc#newcode9 chrome_frame/test/chrome_frame_automation_mock.cc:9: const int kLongWaitTimeout = 25 * 1000; On 2012/04/17 ...
8 years, 8 months ago (2012-04-18 02:04:24 UTC) #9
Ted Vessenes
I'll try using static initializers here as you first suggested and sent it to the ...
8 years, 8 months ago (2012-04-18 02:14:28 UTC) #10
robertshield
https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/test/chrome_frame_test_utils.h File chrome_frame/test/chrome_frame_test_utils.h (right): https://chromiumcodereview.appspot.com/10019015/diff/7001/chrome_frame/test/chrome_frame_test_utils.h#newcode207 chrome_frame/test/chrome_frame_test_utils.h:207: const base::Closure& task, int64 delay_ms) { IMO for consistency, ...
8 years, 8 months ago (2012-04-18 02:23:09 UTC) #11
Ted Vessenes
Enough little stuff changed that it's probably worth a second look at latest changes. I'm ...
8 years, 8 months ago (2012-04-22 22:52:16 UTC) #12
robertshield
LGTM
8 years, 8 months ago (2012-04-23 00:28:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/10019015/38002
8 years, 8 months ago (2012-04-23 00:30:34 UTC) #14
commit-bot: I haz the power
8 years, 8 months ago (2012-04-23 01:40:04 UTC) #15
Change committed as 133395

Powered by Google App Engine
This is Rietveld 408576698