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

Issue 479793002: Fix midnight determination (Closed)

Created:
6 years, 4 months ago by Boris Yusupov
Modified:
6 years, 3 months ago
Reviewers:
bengr
CC:
chromium-reviews, bolian
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix midnight determination Midnight determination by scaling value of internal base::Time representation doesn't take in account time zones, it counts as UTC, but other time logic in local time. There is failure of test ChromeNetworkDailyDataSavingMetricsTest.PartialDayTimeChange if system time zone will overcome test time to another day (like our +4 for example). This fix make it work fine and in same way for win and others operating systems. R=bolian@chromium.org BUG= Committed: https://crrev.com/a6f3247f1ba66550946190f7f81b7039631e4f37 Cr-Commit-Position: refs/heads/master@{#292589}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Don't use internal time representation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -10 lines) Patch
M components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc View 1 1 chunk +6 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Boris Yusupov
6 years, 4 months ago (2014-08-16 12:54:15 UTC) #1
Boris Yusupov
Hi! Could you review my changes please?
6 years, 4 months ago (2014-08-16 12:56:28 UTC) #2
Boris Yusupov
The CQ bit was checked by boriay@yandex-team.ru
6 years, 4 months ago (2014-08-25 14:14:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boriay@yandex-team.ru/479793002/1
6 years, 4 months ago (2014-08-25 14:14:48 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-25 14:14:49 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-08-25 14:14:49 UTC) #6
bolian
bolian@chromium.org changed reviewers: + bengr@chromium.org - bolian@chromium.org
6 years, 4 months ago (2014-08-25 19:26:24 UTC) #7
bengr
https://codereview.chromium.org/479793002/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc File components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc (right): https://codereview.chromium.org/479793002/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc#newcode403 components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc:403: if (then_internal != 0) { nit: We shouldn't use ...
6 years, 4 months ago (2014-08-25 21:37:09 UTC) #8
Boris Yusupov
I removed internal time representation usage. Can you look again?
6 years, 3 months ago (2014-08-27 10:59:27 UTC) #9
bengr
On 2014/08/27 10:59:27, Boris Yusupov wrote: > I removed internal time representation usage. Can you ...
6 years, 3 months ago (2014-08-28 21:46:41 UTC) #10
Boris Yusupov
The CQ bit was checked by boriay@yandex-team.ru
6 years, 3 months ago (2014-08-29 07:06:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boriay@yandex-team.ru/479793002/20001
6 years, 3 months ago (2014-08-29 07:07:20 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as a3eb10e323352d47c905659ac9b92dd0b355323d
6 years, 3 months ago (2014-08-29 08:05:03 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:06:56 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6f3247f1ba66550946190f7f81b7039631e4f37
Cr-Commit-Position: refs/heads/master@{#292589}

Powered by Google App Engine
This is Rietveld 408576698