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

Issue 2930383002: SingleLogSource reads whole lines whenever possible (Closed)

Created:
3 years, 6 months ago by Simon Que
Modified:
3 years, 6 months ago
Reviewers:
afakhry
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org, rkc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SingleLogSource reads whole lines whenever possible Previously, if SingleLogSource found no newline at the end of a read, it would reset the file read offset and return nothing. With this patch, it will return as many whole lines with newlines at the end as it possibly can, and update the file read offset. BUG=731906 TEST=unit tests pass Review-Url: https://codereview.chromium.org/2930383002 Cr-Commit-Position: refs/heads/master@{#479154} Committed: https://chromium.googlesource.com/chromium/src/+/b68e3bed1ed8f2b84cbc53c8ce9a3dc7a2536858

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -13 lines) Patch
M chrome/browser/chromeos/system_logs/single_log_source.cc View 2 chunks +32 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/system_logs/single_log_source_unittest.cc View 2 chunks +5 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 12 (8 generated)
Simon Que
3 years, 6 months ago (2017-06-12 21:53:01 UTC) #2
afakhry
lgtm
3 years, 6 months ago (2017-06-13 17:16:13 UTC) #3
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/2930383002/1
3 years, 6 months ago (2017-06-13 21:16:14 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 21:20:43 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b68e3bed1ed8f2b84cbc53c8ce9a...

Powered by Google App Engine
This is Rietveld 408576698