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

Issue 2930002: Created method to save histogram data for future... (Closed)

Created:
10 years, 5 months ago by jerrica
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Created method to save histogram data for future syncing of sessions. Created a method to track certain session modifications in order to determine what we want to track when syncing sessions BUG=30519 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52252

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 14

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 10

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -34 lines) Patch
M chrome/browser/sessions/session_service.h View 1 2 3 4 5 6 7 6 chunks +35 lines, -12 lines 0 comments Download
M chrome/browser/sessions/session_service.cc View 1 2 3 4 5 6 7 chunks +143 lines, -22 lines 5 comments Download

Messages

Total messages: 13 (0 generated)
jerrica
Hey Tim, Will you please review this for me? Thanks, Jerrica
10 years, 5 months ago (2010-07-08 21:02:21 UTC) #1
jerrica
Hi Tim, Please review the changes I have made. Thanks, Jerrica
10 years, 5 months ago (2010-07-08 23:42:37 UTC) #2
tim (not reviewing)
http://codereview.chromium.org/2930002/diff/5001/6001 File chrome/browser/sessions/session_service.cc (right): http://codereview.chromium.org/2930002/diff/5001/6001#newcode568 chrome/browser/sessions/session_service.cc:568: if (changed->type == NavigationType::EXISTING_PAGE) I think we should group ...
10 years, 5 months ago (2010-07-09 00:02:59 UTC) #3
jerrica
Hello Tim, Please review these changes. Thanks, Jerrica http://codereview.chromium.org/2930002/diff/5001/6001 File chrome/browser/sessions/session_service.cc (right): http://codereview.chromium.org/2930002/diff/5001/6001#newcode568 chrome/browser/sessions/session_service.cc:568: if ...
10 years, 5 months ago (2010-07-09 00:13:47 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/2930002/diff/10001/11002 File chrome/browser/sessions/session_service.h (right): http://codereview.chromium.org/2930002/diff/10001/11002#newcode388 chrome/browser/sessions/session_service.h:388: // want to observe and call Save() after in ...
10 years, 5 months ago (2010-07-09 02:27:50 UTC) #5
tim (not reviewing)
http://codereview.chromium.org/2930002/diff/10001/11001 File chrome/browser/sessions/session_service.cc (right): http://codereview.chromium.org/2930002/diff/10001/11001#newcode1331 chrome/browser/sessions/session_service.cc:1331: void SessionService::RecordAlteredSessionHistogramData(std::string type) { doesn't look like the rename ...
10 years, 5 months ago (2010-07-09 02:28:18 UTC) #6
jerrica
Hey Tim, I had an oops moment. I was making the changes and then got ...
10 years, 5 months ago (2010-07-09 16:58:30 UTC) #7
tim (not reviewing)
Something is wrong with the way you're calling the histogram macro. Click on one of ...
10 years, 5 months ago (2010-07-09 17:47:43 UTC) #8
jerrica
Hey Tim, I changed the implementation. Will you please review the changes? Thanks, Jerrica
10 years, 5 months ago (2010-07-12 21:12:13 UTC) #9
jerrica
Hi Tim, I added another histogram. Will you please review the changes? Thanks, Jerrica
10 years, 5 months ago (2010-07-12 23:22:29 UTC) #10
tim (not reviewing)
http://codereview.chromium.org/2930002/diff/6004/21001 File chrome/browser/sessions/session_service.cc (right): http://codereview.chromium.org/2930002/diff/6004/21001#newcode1346 chrome/browser/sessions/session_service.cc:1346: bool longer = false; nit - I'd call this ...
10 years, 5 months ago (2010-07-13 00:06:12 UTC) #11
jerrica
Hello Tim, I made some changes. Will you please review them. Thanks, Jerrica http://codereview.chromium.org/2930002/diff/6004/21001 File ...
10 years, 5 months ago (2010-07-13 01:15:22 UTC) #12
tim (not reviewing)
10 years, 5 months ago (2010-07-13 16:33:53 UTC) #13
After you fix the stuff mentioned below, this LGTM!

http://codereview.chromium.org/2930002/diff/32001/33001
File chrome/browser/sessions/session_service.cc (right):

http://codereview.chromium.org/2930002/diff/32001/33001#newcode533
chrome/browser/sessions/session_service.cc:533: &last_updated_tab_closed_time_);
indent two more spaces

http://codereview.chromium.org/2930002/diff/32001/33001#newcode551
chrome/browser/sessions/session_service.cc:551:
&last_updated_nav_list_pruned_time_);
indent two more spaces

http://codereview.chromium.org/2930002/diff/32001/33001#newcode578
chrome/browser/sessions/session_service.cc:578:
&last_updated_nav_entry_commit_time_);
if an 'if' statement is more than one line, it needs braces

http://codereview.chromium.org/2930002/diff/32001/33001#newcode1343
chrome/browser/sessions/session_service.cc:1343: if
(!(*last_updated_time).is_null()) {
nit "if (!last_updated_time->is_null())"

http://codereview.chromium.org/2930002/diff/32001/33001#newcode1369
chrome/browser/sessions/session_service.cc:1369: NOTREACHED() << "Bad type sent
to RecordSessionUpdateHistogramData";
nit - indent one more space

Powered by Google App Engine
This is Rietveld 408576698