Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Issue 359473006: Store unsaved trace data on exit. (Closed)

Created:
6 years, 6 months ago by Alexander Alekseev
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Store unsaved trace data on exit. This CL enables chromeos chrome startup trace when chrome in restarted on user log in: startup trace should be saved to disk on process exit if "trace-startup-duration" period has not ended yet. BUG=346913 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281061

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update after review. #

Total comments: 4

Patch Set 3 : Do not save trace to "none" file. #

Patch Set 4 : Fix build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -31 lines) Patch
M content/browser/browser_main_loop.h View 4 chunks +15 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 4 chunks +21 lines, -11 lines 0 comments Download
M content/browser/browser_main_runner.cc View 1 2 3 1 chunk +18 lines, -3 lines 0 comments Download
M content/browser/browser_shutdown_profile_dumper.h View 1 3 chunks +9 lines, -5 lines 0 comments Download
M content/browser/browser_shutdown_profile_dumper.cc View 1 4 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Alexander Alekseev
(This is a split of previous CL https://codereview.chromium.org/311313005/) Chrome on ChromeOS is sometimes restarted (on ...
6 years, 6 months ago (2014-06-26 01:39:25 UTC) #1
Alexander Alekseev
On 2014/06/26 01:39:25, alemate wrote: > (This is a split of previous CL https://codereview.chromium.org/311313005/) > ...
6 years, 6 months ago (2014-06-26 01:39:42 UTC) #2
sky
https://codereview.chromium.org/359473006/diff/1/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/359473006/diff/1/content/browser/browser_main_runner.cc#newcode133 content/browser/browser_main_runner.cc:133: // If startup tracing has not been finished yet, ...
6 years, 6 months ago (2014-06-26 16:39:27 UTC) #3
Alexander Alekseev
https://codereview.chromium.org/359473006/diff/1/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/359473006/diff/1/content/browser/browser_main_runner.cc#newcode133 content/browser/browser_main_runner.cc:133: // If startup tracing has not been finished yet, ...
6 years, 5 months ago (2014-06-27 20:09:50 UTC) #4
sky
I'm going to be OOO shortly, you'll likely want another reviewer. https://codereview.chromium.org/359473006/diff/20001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): ...
6 years, 5 months ago (2014-06-27 22:27:25 UTC) #5
Alexander Alekseev
On 2014/06/27 22:27:25, sky (OOO) wrote: > I'm going to be OOO shortly, you'll likely ...
6 years, 5 months ago (2014-06-30 16:19:40 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/359473006/diff/20001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/359473006/diff/20001/content/browser/browser_main_runner.cc#newcode138 content/browser/browser_main_runner.cc:138: startup_profiler.reset( why if the trace file name is none ...
6 years, 5 months ago (2014-07-02 13:31:34 UTC) #7
Alexander Alekseev
https://codereview.chromium.org/359473006/diff/20001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/359473006/diff/20001/content/browser/browser_main_runner.cc#newcode138 content/browser/browser_main_runner.cc:138: startup_profiler.reset( On 2014/07/02 13:31:34, jochen wrote: > why if ...
6 years, 5 months ago (2014-07-02 13:36:16 UTC) #8
jochen (gone - plz use gerrit)
lgtm
6 years, 5 months ago (2014-07-02 13:42:46 UTC) #9
Alexander Alekseev
The CQ bit was checked by [email protected]
6 years, 5 months ago (2014-07-02 13:47:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/359473006/40001
6 years, 5 months ago (2014-07-02 13:48:38 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 14:30:45 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 5 months ago (2014-07-02 14:33:01 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/166812) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/156007)
6 years, 5 months ago (2014-07-02 14:33:03 UTC) #14
Alexander Alekseev
The CQ bit was checked by [email protected]
6 years, 5 months ago (2014-07-02 15:00:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/359473006/60001
6 years, 5 months ago (2014-07-02 15:01:20 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 18:01:55 UTC) #17
Message was sent while issue was closed.
Change committed as 281061

Powered by Google App Engine
This is Rietveld 408576698