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

Issue 2127783002: Make EmitNtpStatistics() private. (Closed)

Created:
4 years, 5 months ago by sfiera
Modified:
4 years, 5 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make EmitNtpStatistics() private. It's still called from the same places, but through public functions that describe what is happening and why, rather than exposing an implementation detail. Also, add an enum so that it's immediately obvious at the call site why EmitNtpStatistics() is being called. BUG=625990 Committed: https://crrev.com/c48795c69de4878814ca44038544c1afd78c1dce Cr-Commit-Position: refs/heads/master@{#404636}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make EmitNtpStatistics() private. #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -72 lines) Patch
M chrome/browser/ui/search/instant_controller.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/instant_tab.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_tab.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.h View 1 2 3 3 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc View 1 2 3 4 chunks +65 lines, -57 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
sfiera
4 years, 5 months ago (2016-07-06 11:51:21 UTC) #2
Marc Treib
lgtm https://codereview.chromium.org/2127783002/diff/1/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc File chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc (right): https://codereview.chromium.org/2127783002/diff/1/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc#newcode255 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc:255: void NTPUserDataLogger::EmitNtpStatistics(EmitReason reason) { We don't do anything ...
4 years, 5 months ago (2016-07-06 12:04:28 UTC) #3
sfiera
https://codereview.chromium.org/2127783002/diff/1/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc File chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc (right): https://codereview.chromium.org/2127783002/diff/1/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc#newcode255 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc:255: void NTPUserDataLogger::EmitNtpStatistics(EmitReason reason) { On 2016/07/06 12:04:27, Marc Treib ...
4 years, 5 months ago (2016-07-06 12:08:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127783002/20001
4 years, 5 months ago (2016-07-06 12:08:56 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/212744)
4 years, 5 months ago (2016-07-06 12:16:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127783002/80001
4 years, 5 months ago (2016-07-11 11:35:38 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-11 12:17:19 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 12:19:27 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c48795c69de4878814ca44038544c1afd78c1dce
Cr-Commit-Position: refs/heads/master@{#404636}

Powered by Google App Engine
This is Rietveld 408576698