[Telemetry] Add summary stats to endure measurement.

I'd like to have some endure results show up as regular perf results
on the dashboard, and have these results be monitored for anomalies as well.

It's simple enough to add more results in the endure measurement, but endure
results are being output in CSV format (this was done mainly so that results
can be output realtime as the test runs, and perhaps for ease of parsing X/Y
results), and CSV output format doesn't support one-off summary results.

Before this change can be landed, the process_log_utils.py has to be updated
to properly parse these results for endure.

Sample run with CSV output format:

    $ ./run_measurement endure --output-format=csv --page-repeat=3 --perf-stats-interval=1 page_sets/calendar_forward_backward.json
    page_name,browser_vm_X (iterations),browser_vm_Y (KB),dom_nodes_X (iterations),dom_nodes_Y (count),event_listeners_X (iterations),event_listeners_Y (count),gpu_vm_X (iterations),gpu_vm_Y (KB),renderer_vm_X (iterations),renderer_vm_Y (KB),v8_memory_allocated_X (iterations),v8_memory_allocated_Y (KB),v8_memory_committed_X (iterations),v8_memory_committed_Y (KB),v8_memory_used_X (iterations),v8_memory_used_Y (KB)
    endure_calendar_forward_backward,1,748716.0,1,1717,1,489,1,0.0,1,1801664.0,1,31908.0,1,28356.75,1,17684.8984375
    endure_calendar_forward_backward,2,751788.0,2,2326,2,491,2,0.0,2,1810944.0,2,42148.0,2,46614.5,2,26714.96875
    endure_calendar_forward_backward,3,751788.0,3,1247,3,487,3,0.0,3,1808960.0,3,30884.0,3,38511.0,3,13954.9921875

Sample run with buildbot output format:

    $ ./run_measurement endure --output-format=buildbot --page-repeat=3 --perf-stats-interval=1 page_sets/calendar_forward_backward.json
    *RESULT browser_vm_X: browser_vm_X= [1,2,3] iterations
    *RESULT browser_vm_Y: browser_vm_Y= [748716.0,751788.0,751788.0] KB
    *RESULT dom_nodes_X: dom_nodes_X= [1,2,3] iterations
    *RESULT dom_nodes_Y: dom_nodes_Y= [1877,2166,3030] count
    *RESULT event_listeners_X: event_listeners_X= [1,2,3] iterations
    *RESULT event_listeners_Y: event_listeners_Y= [489,491,495] count
    *RESULT gpu_vm_X: gpu_vm_X= [1,2,3] iterations
    *RESULT gpu_vm_Y: gpu_vm_Y= [0.0,0.0,0.0] KB
    *RESULT renderer_vm_X: renderer_vm_X= [1,2,3] iterations
    *RESULT renderer_vm_Y: renderer_vm_Y= [1801372.0,1810652.0,1813788.0] KB
    *RESULT v8_memory_allocated_X: v8_memory_allocated_X= [1,2,3] iterations
    *RESULT v8_memory_allocated_Y: v8_memory_allocated_Y= [30884.0,43172.0,44196.0] KB
    *RESULT v8_memory_committed_X: v8_memory_committed_X= [1,2,3] iterations
    *RESULT v8_memory_committed_Y: v8_memory_committed_Y= [27360.75,46602.75,68013.75] KB
    *RESULT v8_memory_used_X: v8_memory_used_X= [1,2,3] iterations
    *RESULT v8_memory_used_Y: v8_memory_used_Y= [17576.7578125,26494.3515625,24819.4453125] KB
    RESULT total_iterations: total_iterations= 3 iterations
    RESULT total_time: total_time= 59.6166460514 seconds
    *RESULT gpu_vm_max: gpu_vm_max= 0.0 KB
    *RESULT gpu_vm_range: gpu_vm_range= 0.0 KB
    *RESULT v8_memory_committed_max: v8_memory_committed_max= 68013.75 KB
    *RESULT v8_memory_committed_range: v8_memory_committed_range= 40653.0 KB
    *RESULT renderer_vm_max: renderer_vm_max= 1813788.0 KB
    *RESULT renderer_vm_range: renderer_vm_range= 12416.0 KB
    *RESULT v8_memory_allocated_max: v8_memory_allocated_max= 44196.0 KB
    *RESULT v8_memory_allocated_range: v8_memory_allocated_range= 13312.0 KB
    *RESULT v8_memory_used_max: v8_memory_used_max= 26494.3515625 KB
    *RESULT v8_memory_used_range: v8_memory_used_range= 8917.59375 KB
    *RESULT dom_nodes_max: dom_nodes_max= 3030 count
    *RESULT dom_nodes_range: dom_nodes_range= 1153 count
    *RESULT event_listeners_max: event_listeners_max= 495 count
    *RESULT event_listeners_range: event_listeners_range= 6 count
    *RESULT browser_vm_max: browser_vm_max= 751788.0 KB
    *RESULT browser_vm_range: browser_vm_range= 3072.0 KB
    RESULT telemetry_page_measurement_results: num_failed= 0 count
    RESULT telemetry_page_measurement_results: num_errored= 0 count

BUG=

Review URL: https://codereview.chromium.org/59023004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241381 0039d316-1c4b-4281-b951-d872f2087c98
Fix the charger dialog focus issue on locked screen.

The login window could be shown or loaded after the spring charger dialog(system modal dialog) shows, and it takes away the focus from the charger dialog in such case. Set the focus back to charger dialog after this happens.

BUG=328538
R=dpolukhin@chromium.org, xiyuan@chromium.org

Review URL: https://codereview.chromium.org/106923003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241382 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241382