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

Issue 14591005: C++ readability review from original change https://chromiumcodereview.appspot.com/14263024/ (Closed)

Created:
7 years, 7 months ago by klm
Modified:
7 years, 6 months ago
Reviewers:
kkania, jdennett
CC:
chromium-reviews, kkania
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Update to head. #

Total comments: 45

Patch Set 3 : Review changes. #

Patch Set 4 : STREQ->EQ for string equality checks in unit tests. #

Patch Set 5 : Rewrite ConsoleLogger::OnEvent from stringstream to printf. #

Total comments: 36

Patch Set 6 : Review changes. #

Total comments: 2

Patch Set 7 : Merge to head. Mainly: OnEvent returns Status, Log::AddEntry takes explicit Time. #

Patch Set 8 : Restored log.cc in chrome_tests.gypi. #

Total comments: 2

Patch Set 9 : Restored AddEntry with no timestamp; with timestamp is now AddEntryTimestamped. #

Patch Set 10 : Remove unnecessary null timestamp handling. #

Patch Set 11 : Fix types in CHECK comparisons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -149 lines) Patch
M chrome/test/chromedriver/chrome/console_logger.h View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/console_logger.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +40 lines, -39 lines 0 comments Download
M chrome/test/chromedriver/chrome/console_logger_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +41 lines, -34 lines 0 comments Download
M chrome/test/chromedriver/chrome/log.h View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/test/chromedriver/chrome/log.cc View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/test/chromedriver/chrome/performance_logger.h View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/performance_logger.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/chrome/performance_logger_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +34 lines, -27 lines 0 comments Download
M chrome/test/chromedriver/logging.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -8 lines 0 comments Download
M chrome/test/chromedriver/logging.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -11 lines 0 comments Download
M chrome/test/chromedriver/logging_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
klm
http://b/8772053
7 years, 7 months ago (2013-05-13 17:24:13 UTC) #1
jdennett
https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc File chrome/test/chromedriver/chrome/console_logger.cc (right): https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc#newcode19 chrome/test/chromedriver/chrome/console_logger.cc:19: const char* kConsoleLevelNames[] = { This is named as ...
7 years, 7 months ago (2013-05-13 17:56:49 UTC) #2
klm
Thanks for a quick turnaround! PTAL. https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc File chrome/test/chromedriver/chrome/console_logger.cc (right): https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc#newcode19 chrome/test/chromedriver/chrome/console_logger.cc:19: const char* kConsoleLevelNames[] ...
7 years, 7 months ago (2013-05-13 20:35:57 UTC) #3
jdennett
Next step for me: remembering/working out how to see the current code in this code ...
7 years, 7 months ago (2013-05-13 20:39:10 UTC) #4
klm
On 2013/05/13 20:39:10, jdennett wrote: > Next step for me: remembering/working out how to see ...
7 years, 7 months ago (2013-05-13 20:46:55 UTC) #5
kkania
https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc File chrome/test/chromedriver/chrome/console_logger.cc (right): https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc#newcode52 chrome/test/chromedriver/chrome/console_logger.cc:52: const base::DictionaryValue *message_dict = NULL; On 2013/05/13 20:35:57, klm ...
7 years, 7 months ago (2013-05-13 21:30:22 UTC) #6
klm
https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc File chrome/test/chromedriver/chrome/console_logger.cc (right): https://codereview.chromium.org/14591005/diff/9001/chrome/test/chromedriver/chrome/console_logger.cc#newcode54 chrome/test/chromedriver/chrome/console_logger.cc:54: std::ostringstream message; On 2013/05/13 21:30:22, kkania wrote: > On ...
7 years, 7 months ago (2013-05-14 03:34:47 UTC) #7
klm
ping...
7 years, 7 months ago (2013-05-20 18:36:31 UTC) #8
jdennett
On 2013/05/20 18:36:31, klm wrote: > ping... Hi. Sorry, I've not forgotten you. It's just ...
7 years, 7 months ago (2013-05-20 18:39:08 UTC) #9
klm
On 2013/05/20 18:39:08, jdennett wrote: > On 2013/05/20 18:36:31, klm wrote: > > ping... > ...
7 years, 7 months ago (2013-05-20 18:44:38 UTC) #10
jdennett
I don't see any major problems here; some protected/public data should be less visible, which ...
7 years, 7 months ago (2013-05-23 03:44:24 UTC) #11
klm
https://codereview.chromium.org/14591005/diff/30001/chrome/test/chromedriver/chrome/console_logger.cc File chrome/test/chromedriver/chrome/console_logger.cc (right): https://codereview.chromium.org/14591005/diff/30001/chrome/test/chromedriver/chrome/console_logger.cc#newcode25 chrome/test/chromedriver/chrome/console_logger.cc:25: CHECK(Log::kDebug + i <= Log::kError); On 2013/05/23 03:44:24, jdennett ...
7 years, 7 months ago (2013-05-23 15:21:38 UTC) #12
klm
ping...
7 years, 6 months ago (2013-06-01 03:14:49 UTC) #13
jdennett
lgtm Re fakes being as simple as possible: I'd agree, but I'd also say that ...
7 years, 6 months ago (2013-06-03 13:51:34 UTC) #14
klm
Merge to head. Mainly: OnEvent returns Status, Log::AddEntry takes explicit Time. https://codereview.chromium.org/14591005/diff/43001/chrome/test/chromedriver/chrome/performance_logger.cc File chrome/test/chromedriver/chrome/performance_logger.cc (right): ...
7 years, 6 months ago (2013-06-03 17:35:27 UTC) #15
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 6 months ago (2013-06-03 17:36:01 UTC) #16
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 6 months ago (2013-06-03 17:37:05 UTC) #17
kkania
https://codereview.chromium.org/14591005/diff/48002/chrome/test/chromedriver/chrome/log.h File chrome/test/chromedriver/chrome/log.h (right): https://codereview.chromium.org/14591005/diff/48002/chrome/test/chromedriver/chrome/log.h#newcode27 chrome/test/chromedriver/chrome/log.h:27: virtual void AddEntry(const base::Time& timestamp, Instead of this, I ...
7 years, 6 months ago (2013-06-03 17:44:11 UTC) #18
jdennett
On Mon, Jun 3, 2013 at 10:44 AM, <kkania@chromium.org> wrote: > > https://codereview.chromium.org/14591005/diff/48002/chrome/test/chromedriver/chrome/log.h > File ...
7 years, 6 months ago (2013-06-03 18:20:09 UTC) #19
klm
https://codereview.chromium.org/14591005/diff/48002/chrome/test/chromedriver/chrome/log.h File chrome/test/chromedriver/chrome/log.h (right): https://codereview.chromium.org/14591005/diff/48002/chrome/test/chromedriver/chrome/log.h#newcode27 chrome/test/chromedriver/chrome/log.h:27: virtual void AddEntry(const base::Time& timestamp, On 2013/06/03 17:44:11, kkania ...
7 years, 6 months ago (2013-06-03 19:56:02 UTC) #20
kkania
lgtm after updating log.h comment (to remove is_null check)
7 years, 6 months ago (2013-06-03 21:31:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/60001
7 years, 6 months ago (2013-06-04 02:36:56 UTC) #22
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6555
7 years, 6 months ago (2013-06-04 03:49:25 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/60001
7 years, 6 months ago (2013-06-04 03:51:17 UTC) #24
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6571
7 years, 6 months ago (2013-06-04 05:03:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/60001
7 years, 6 months ago (2013-06-04 08:36:59 UTC) #26
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6598
7 years, 6 months ago (2013-06-04 09:45:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/60001
7 years, 6 months ago (2013-06-04 11:55:48 UTC) #28
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6618
7 years, 6 months ago (2013-06-04 13:05:12 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/60001
7 years, 6 months ago (2013-06-04 13:23:59 UTC) #30
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-04 14:15:34 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klm@google.com/14591005/83002
7 years, 6 months ago (2013-06-04 16:01:19 UTC) #32
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 21:54:50 UTC) #33
Message was sent while issue was closed.
Change committed as 204053

Powered by Google App Engine
This is Rietveld 408576698