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

Issue 10827130: Refactoring the SysInfoProvider. (Closed)

Created:
8 years, 4 months ago by tudalex(Chromium)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Elly Fong-Jones
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Refactoring the SysInfoProvider to include logs from SysLogsProvider. Refactoring the SysInfoProvider in order to support multiple data sources and also implementing the data sources from SysLogsProvider, that were specific to system_info_ui. Replaced SysInfoProvider and SysLogsProvider classes in the system_info_ui just with one class the SysLogsFetcher that implements both classes. BUG=138582 TEST=You navigate to chrome://system and confirm that the data is there. Some of the keys that should be present and have data should be: CHROMEOS_RELEASE_VERSION, mem_usage, cras, cpuinfo. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152856

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 70

Patch Set 4 : #

Total comments: 26

Patch Set 5 : #

Total comments: 20

Patch Set 6 : #

Patch Set 7 : #

Total comments: 13

Patch Set 8 : #

Patch Set 9 : #

Total comments: 20

Patch Set 10 : #

Total comments: 53

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Total comments: 44

Patch Set 13 : #

Total comments: 37

Patch Set 14 : #

Patch Set 15 : #

Total comments: 35

Patch Set 16 : #

Total comments: 41

Patch Set 17 : #

Total comments: 11

Patch Set 18 : #

Patch Set 19 : #

Total comments: 4

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : #

Total comments: 27

Patch Set 23 : #

Total comments: 2

Patch Set 24 : #

Total comments: 2

Patch Set 25 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+719 lines, -276 lines) Patch
M chrome/browser/chromeos/system/sysinfo_provider.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/chromeos/system/sysinfo_provider.cc View 1 2 1 chunk +0 lines, -161 lines 0 comments Download
A chrome/browser/chromeos/system_logs/command_line_log_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/command_line_log_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/debug_daemon_log_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +123 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/lsb_release_log_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/lsb_release_log_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/lsb_release_log_source_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/memory_details_log_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/memory_details_log_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/system_logs_fetcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +83 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system_logs/system_logs_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/system_info_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/system_info_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 9 chunks +25 lines, -73 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 72 (0 generated)
tudalex(Chromium)
8 years, 4 months ago (2012-08-02 02:09:04 UTC) #1
rkc
http://codereview.chromium.org/10827130/diff/6001/chrome/browser/chromeos/system/sysinfo_provider.cc File chrome/browser/chromeos/system/sysinfo_provider.cc (right): http://codereview.chromium.org/10827130/diff/6001/chrome/browser/chromeos/system/sysinfo_provider.cc#newcode7 chrome/browser/chromeos/system/sysinfo_provider.cc:7: #include "vector" Already included in the header + should ...
8 years, 4 months ago (2012-08-02 18:40:53 UTC) #2
tudalex(Chromium)
https://chromiumcodereview.appspot.com/10827130/diff/6001/chrome/browser/chromeos/system/sysinfo_provider.cc File chrome/browser/chromeos/system/sysinfo_provider.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/6001/chrome/browser/chromeos/system/sysinfo_provider.cc#newcode50 chrome/browser/chromeos/system/sysinfo_provider.cc:50: SysLogsFetcher * fetcher = SysLogsFetcherFactory::GetInstance()->GetFetcher(); On 2012/08/02 18:40:54, Rahul ...
8 years, 4 months ago (2012-08-04 00:24:20 UTC) #3
rkc1
https://chromiumcodereview.appspot.com/10827130/diff/2002/chrome/browser/chromeos/system/commandline_fetcher.cc File chrome/browser/chromeos/system/commandline_fetcher.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/2002/chrome/browser/chromeos/system/commandline_fetcher.cc#newcode22 chrome/browser/chromeos/system/commandline_fetcher.cc:22: if (!file_util::CreateTemporaryFile(&temp_filename)) Change this to use base::GetAppOutput. https://chromiumcodereview.appspot.com/10827130/diff/2002/chrome/browser/chromeos/system/commandline_fetcher.h File ...
8 years, 4 months ago (2012-08-04 01:15:04 UTC) #4
tudalex(Chromium)
Sorry for the delay. http://codereview.chromium.org/10827130/diff/2002/chrome/browser/chromeos/system/commandline_fetcher.cc File chrome/browser/chromeos/system/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/2002/chrome/browser/chromeos/system/commandline_fetcher.cc#newcode22 chrome/browser/chromeos/system/commandline_fetcher.cc:22: if (!file_util::CreateTemporaryFile(&temp_filename)) On 2012/08/04 01:15:05, ...
8 years, 4 months ago (2012-08-05 01:15:12 UTC) #5
rkc
http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode20 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:20: void CommandLineFetcher::Fetch(SysLogsFetcherCallback request) Add a TODO here to mention ...
8 years, 4 months ago (2012-08-06 18:30:18 UTC) #6
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode20 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:20: void CommandLineFetcher::Fetch(SysLogsFetcherCallback request) On 2012/08/06 18:30:18, Rahul Chaturvedi wrote: ...
8 years, 4 months ago (2012-08-06 19:14:22 UTC) #7
rkc
LGTM. On 2012/08/06 19:14:22, tudalex1 wrote: > http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc > File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): > > http://codereview.chromium.org/10827130/diff/6019/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode20 ...
8 years, 4 months ago (2012-08-06 19:20:54 UTC) #8
tudalex(Chromium)
Added Zel for owner's review.
8 years, 4 months ago (2012-08-06 19:57:01 UTC) #9
tudalex(Chromium)
Added satorux
8 years, 4 months ago (2012-08-06 23:02:02 UTC) #10
satorux1
There seems to be a number of style issues. Please fix them first. http://codereview.chromium.org/10827130/diff/8023/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File ...
8 years, 4 months ago (2012-08-06 23:47:31 UTC) #11
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/8023/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/8023/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode21 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:21: { On 2012/08/06 23:47:31, satorux1 wrote: > move { ...
8 years, 4 months ago (2012-08-07 00:56:11 UTC) #12
satorux1
http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h File chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h (right): http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h#newcode17 chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h:17: void Fetch(const SysLogsFetcherCallback&) OVERRIDE; Please add parameter name. Also ...
8 years, 4 months ago (2012-08-07 01:15:06 UTC) #13
satorux1
The patch description seems to be too short for a large patch like this. Per ...
8 years, 4 months ago (2012-08-07 01:18:55 UTC) #14
satorux1
TEST= line is also missing
8 years, 4 months ago (2012-08-07 01:19:11 UTC) #15
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h File chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h (right): http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h#newcode17 chrome/browser/chromeos/syslogs/lsbrelease_fetcher.h:17: void Fetch(const SysLogsFetcherCallback&) OVERRIDE; On 2012/08/07 01:15:07, satorux1 wrote: ...
8 years, 4 months ago (2012-08-07 23:46:54 UTC) #16
satorux1
http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc File chrome/browser/chromeos/syslogs/syslogs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/9005/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc#newcode32 chrome/browser/chromeos/syslogs/syslogs_fetcher.cc:32: base::AutoLock lock(response_lock_); On 2012/08/07 23:46:54, tudalex1 wrote: > On ...
8 years, 4 months ago (2012-08-08 22:01:03 UTC) #17
satorux1
BTW, the first line in the description looks too long. Here's some relevant bits from ...
8 years, 4 months ago (2012-08-09 00:10:10 UTC) #18
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/15026/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/15026/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode23 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:23: content::BrowserThread::PostTask(content::BrowserThread::FILE, On 2012/08/08 22:01:03, satorux1 wrote: > FILE thread ...
8 years, 4 months ago (2012-08-09 02:30:23 UTC) #19
satorux1
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode23 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:23: void Execute(const chromeos::SysLogsFetcherCallback& request) { Function comment is missing. ...
8 years, 4 months ago (2012-08-09 21:15:06 UTC) #20
rkc
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.h File chrome/browser/chromeos/syslogs/syslogs_fetcher.h (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.h#newcode50 chrome/browser/chromeos/syslogs/syslogs_fetcher.h:50: // fetcher->Fetch(base::Bind(&Example::ProcessLogs,this)); Nit: &Example::ProcessLogs, this http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.h#newcode76 chrome/browser/chromeos/syslogs/syslogs_fetcher.h:76: Extra line.
8 years, 4 months ago (2012-08-09 21:31:55 UTC) #21
rkc
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.h File chrome/browser/chromeos/syslogs/syslogs_fetcher.h (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.h#newcode52 chrome/browser/chromeos/syslogs/syslogs_fetcher.h:52: class SysLogsFetcher { On 2012/08/09 21:15:07, satorux1 wrote: > ...
8 years, 4 months ago (2012-08-09 23:50:50 UTC) #22
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/commandline_fetcher.cc File chrome/browser/chromeos/syslogs/commandline_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/commandline_fetcher.cc#newcode23 chrome/browser/chromeos/syslogs/commandline_fetcher.cc:23: void Execute(const chromeos::SysLogsFetcherCallback& request) { On 2012/08/09 21:15:07, satorux1 ...
8 years, 4 months ago (2012-08-10 00:30:31 UTC) #23
tudalex(Chromium)
+cc: ellyjones@ and hshi@
8 years, 4 months ago (2012-08-10 18:33:42 UTC) #24
hshi1
http://codereview.chromium.org/10827130/diff/8044/chrome/browser/chromeos/syslogs/syslogs_fetcher.h File chrome/browser/chromeos/syslogs/syslogs_fetcher.h (right): http://codereview.chromium.org/10827130/diff/8044/chrome/browser/chromeos/syslogs/syslogs_fetcher.h#newcode26 chrome/browser/chromeos/syslogs/syslogs_fetcher.h:26: virtual void Fetch(const SysLogsFetcherCallback& request) = 0; I understand ...
8 years, 4 months ago (2012-08-10 18:43:45 UTC) #25
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/8044/chrome/browser/chromeos/syslogs/syslogs_fetcher.h File chrome/browser/chromeos/syslogs/syslogs_fetcher.h (right): http://codereview.chromium.org/10827130/diff/8044/chrome/browser/chromeos/syslogs/syslogs_fetcher.h#newcode26 chrome/browser/chromeos/syslogs/syslogs_fetcher.h:26: virtual void Fetch(const SysLogsFetcherCallback& request) = 0; On 2012/08/10 ...
8 years, 4 months ago (2012-08-10 19:03:33 UTC) #26
hshi1
I think it is fine for the time being. Is the plan that all calls ...
8 years, 4 months ago (2012-08-10 20:26:28 UTC) #27
satorux1
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc File chrome/browser/chromeos/syslogs/syslogs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc#newcode32 chrome/browser/chromeos/syslogs/syslogs_fetcher.cc:32: responses_ = data_sources_.size(); On 2012/08/10 00:30:31, tudalex1 wrote: > ...
8 years, 4 months ago (2012-08-10 22:58:34 UTC) #28
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc File chrome/browser/chromeos/syslogs/syslogs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/44/chrome/browser/chromeos/syslogs/syslogs_fetcher.cc#newcode32 chrome/browser/chromeos/syslogs/syslogs_fetcher.cc:32: responses_ = data_sources_.size(); On 2012/08/10 22:58:34, satorux1 wrote: > ...
8 years, 4 months ago (2012-08-11 00:27:06 UTC) #29
satorux1
http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc File chrome/browser/chromeos/system_logs/commandline_log_source.cc (right): http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc#newcode26 chrome/browser/chromeos/system_logs/commandline_log_source.cc:26: SystemLogsResponse* response = new SystemLogsResponse; who deletes |response|? will ...
8 years, 4 months ago (2012-08-13 18:29:03 UTC) #30
rkc
http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode46 chrome/browser/chromeos/system_logs/debugd_log_source.cc:46: pending_requests_ = 4; On 2012/08/13 18:29:03, satorux1 wrote: > ...
8 years, 4 months ago (2012-08-13 18:50:13 UTC) #31
satorux1
http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/memorydetails_log_source.cc File chrome/browser/chromeos/system_logs/memorydetails_log_source.cc (right): http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/memorydetails_log_source.cc#newcode19 chrome/browser/chromeos/system_logs/memorydetails_log_source.cc:19: virtual void OnDetailsAvailable() OVERRIDE { // MemoryDetails override http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc ...
8 years, 4 months ago (2012-08-13 19:33:35 UTC) #32
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc File chrome/browser/chromeos/system_logs/commandline_log_source.cc (right): http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc#newcode26 chrome/browser/chromeos/system_logs/commandline_log_source.cc:26: SystemLogsResponse* response = new SystemLogsResponse; On 2012/08/13 18:29:03, satorux1 ...
8 years, 4 months ago (2012-08-14 03:24:00 UTC) #33
satorux1
http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc File chrome/browser/chromeos/system_logs/commandline_log_source.cc (right): http://codereview.chromium.org/10827130/diff/16005/chrome/browser/chromeos/system_logs/commandline_log_source.cc#newcode34 chrome/browser/chromeos/system_logs/commandline_log_source.cc:34: void CommandLineLogSource::Execute(SystemLogsResponse* response) { On 2012/08/14 03:24:00, tudalex1 wrote: ...
8 years, 4 months ago (2012-08-14 05:51:52 UTC) #34
satorux1
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/ui/webui/chromeos/system_info_ui.cc File chrome/browser/ui/webui/chromeos/system_info_ui.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/ui/webui/chromeos/system_info_ui.cc#newcode61 chrome/browser/ui/webui/chromeos/system_info_ui.cc:61: void SysInfoComplete(chromeos::SystemLogsResponse* response); I think you can put the ...
8 years, 4 months ago (2012-08-14 05:53:21 UTC) #35
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode36 chrome/browser/chromeos/system_logs/debugd_log_source.cc:36: : response_(new SystemLogsResponse()), num_pending_requests_(0), On 2012/08/14 05:51:52, satorux1 wrote: ...
8 years, 4 months ago (2012-08-15 01:54:33 UTC) #36
satorux1
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode37 chrome/browser/chromeos/system_logs/debugd_log_source.cc:37: ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {} On 2012/08/15 01:54:33, tudalex1 wrote: > On ...
8 years, 4 months ago (2012-08-15 02:11:32 UTC) #37
satorux1
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/ui/webui/chromeos/system_info_ui.cc File chrome/browser/ui/webui/chromeos/system_info_ui.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/ui/webui/chromeos/system_info_ui.cc#newcode135 chrome/browser/ui/webui/chromeos/system_info_ui.cc:135: if (response_ != NULL) { On 2012/08/15 01:54:33, tudalex1 ...
8 years, 4 months ago (2012-08-15 02:12:36 UTC) #38
satorux1
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode37 chrome/browser/chromeos/system_logs/debugd_log_source.cc:37: ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {} On 2012/08/15 02:11:32, satorux1 wrote: > On ...
8 years, 4 months ago (2012-08-15 02:22:43 UTC) #39
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode37 chrome/browser/chromeos/system_logs/debugd_log_source.cc:37: ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {} On 2012/08/15 02:22:43, satorux1 wrote: > On ...
8 years, 4 months ago (2012-08-15 17:20:21 UTC) #40
satorux1
thank you for writing tests. it's getting closer. http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode42 chrome/browser/chromeos/system_logs/debugd_log_source.cc:42: DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); ...
8 years, 4 months ago (2012-08-15 22:01:09 UTC) #41
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc File chrome/browser/chromeos/system_logs/debugd_log_source.cc (right): http://codereview.chromium.org/10827130/diff/15043/chrome/browser/chromeos/system_logs/debugd_log_source.cc#newcode42 chrome/browser/chromeos/system_logs/debugd_log_source.cc:42: DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); On 2012/08/15 22:01:09, satorux1 wrote: > On 2012/08/15 ...
8 years, 4 months ago (2012-08-16 01:08:57 UTC) #42
satorux1
http://codereview.chromium.org/10827130/diff/11029/chrome/browser/chromeos/system_logs/lsbrelease_log_source.cc File chrome/browser/chromeos/system_logs/lsbrelease_log_source.cc (right): http://codereview.chromium.org/10827130/diff/11029/chrome/browser/chromeos/system_logs/lsbrelease_log_source.cc#newcode73 chrome/browser/chromeos/system_logs/lsbrelease_log_source.cc:73: LOG(WARNING) << "Invalid characters in system log entry: " ...
8 years, 4 months ago (2012-08-16 10:50:57 UTC) #43
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/6064/chrome/browser/chromeos/system_logs/commandline_log_source.cc File chrome/browser/chromeos/system_logs/commandline_log_source.cc (right): http://codereview.chromium.org/10827130/diff/6064/chrome/browser/chromeos/system_logs/commandline_log_source.cc#newcode53 chrome/browser/chromeos/system_logs/commandline_log_source.cc:53: std::vector< std::pair<std::string, CommandLine> >::iterator it; On 2012/08/16 10:50:57, satorux1 ...
8 years, 4 months ago (2012-08-16 22:33:02 UTC) #44
satorux1
almost there. http://codereview.chromium.org/10827130/diff/6064/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6064/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode50 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:50: ++it) { On 2012/08/16 22:33:03, tudalex1 wrote: ...
8 years, 4 months ago (2012-08-17 17:46:29 UTC) #45
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/debugd_log_source.h File chrome/browser/chromeos/system_logs/debugd_log_source.h (right): http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/debugd_log_source.h#newcode1 chrome/browser/chromeos/system_logs/debugd_log_source.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 4 months ago (2012-08-17 19:43:22 UTC) #46
satorux1
http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode47 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:47: response_->insert(response->begin(), response->end()); On 2012/08/17 19:43:22, tudalex1 wrote: > On ...
8 years, 4 months ago (2012-08-17 19:47:17 UTC) #47
rkc
http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode47 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:47: response_->insert(response->begin(), response->end()); If a key appears from another data ...
8 years, 4 months ago (2012-08-17 19:48:27 UTC) #48
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/6067/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode47 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:47: response_->insert(response->begin(), response->end()); On 2012/08/17 19:48:27, Rahul Chaturvedi wrote: > ...
8 years, 4 months ago (2012-08-17 21:34:54 UTC) #49
satorux1
LGTM with a nit. Hope the code review was useful for you. http://codereview.chromium.org/10827130/diff/18012/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc ...
8 years, 4 months ago (2012-08-17 21:41:21 UTC) #50
satorux1
http://codereview.chromium.org/10827130/diff/18012/chrome/browser/chromeos/system_logs/commandline_log_source.h File chrome/browser/chromeos/system_logs/commandline_log_source.h (right): http://codereview.chromium.org/10827130/diff/18012/chrome/browser/chromeos/system_logs/commandline_log_source.h#newcode1 chrome/browser/chromeos/system_logs/commandline_log_source.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 4 months ago (2012-08-17 21:42:12 UTC) #51
tudalex(Chromium)
https://chromiumcodereview.appspot.com/10827130/diff/18012/chrome/browser/chromeos/system_logs/commandline_log_source.h File chrome/browser/chromeos/system_logs/commandline_log_source.h (right): https://chromiumcodereview.appspot.com/10827130/diff/18012/chrome/browser/chromeos/system_logs/commandline_log_source.h#newcode1 chrome/browser/chromeos/system_logs/commandline_log_source.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 4 months ago (2012-08-17 23:14:01 UTC) #52
tudalex(Chromium)
Renamed the files using eclipse and forgot to add them in git again.
8 years, 4 months ago (2012-08-20 19:10:56 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tudalex@chromium.org/10827130/10022
8 years, 4 months ago (2012-08-21 00:58:22 UTC) #54
commit-bot: I haz the power
Presubmit check for 10827130-10022 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-21 00:58:30 UTC) #55
tudalex(Chromium)
Added James Hawkins for OWNERS review for chrome/ and chrome/browser/ui/webui.
8 years, 4 months ago (2012-08-21 01:09:05 UTC) #56
tudalex(Chromium)
Added Chris Silverberg for owner's review for chrome/browser/ui/webui.
8 years, 4 months ago (2012-08-21 19:08:50 UTC) #57
csilv
webui owner lgtm
8 years, 4 months ago (2012-08-21 19:35:13 UTC) #58
Lei Zhang
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/command_line_log_source.cc File chrome/browser/chromeos/system_logs/command_line_log_source.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/command_line_log_source.cc#newcode14 chrome/browser/chromeos/system_logs/command_line_log_source.cc:14: #include "base/file_util.h" nit: remove unused #includes. https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc File chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc ...
8 years, 4 months ago (2012-08-21 19:56:55 UTC) #59
rkc1
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/lsb_release_log_source.h File chrome/browser/chromeos/system_logs/lsb_release_log_source.h (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/lsb_release_log_source.h#newcode32 chrome/browser/chromeos/system_logs/lsb_release_log_source.h:32: static void ReadLSBRelease(SystemLogsResponse* response); On 2012/08/21 19:56:55, Lei Zhang ...
8 years, 4 months ago (2012-08-21 20:02:33 UTC) #60
Lei Zhang
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/lsb_release_log_source.h File chrome/browser/chromeos/system_logs/lsb_release_log_source.h (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/lsb_release_log_source.h#newcode32 chrome/browser/chromeos/system_logs/lsb_release_log_source.h:32: static void ReadLSBRelease(SystemLogsResponse* response); On 2012/08/21 20:02:33, rkc wrote: ...
8 years, 4 months ago (2012-08-21 20:08:15 UTC) #61
satorux1
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode56 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:56: DCHECK(response_->insert(*it).second); On 2012/08/21 20:08:15, Lei Zhang wrote: > On ...
8 years, 4 months ago (2012-08-21 20:48:31 UTC) #62
rkc1
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode56 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:56: DCHECK(response_->insert(*it).second); On 2012/08/21 20:48:31, satorux1 wrote: > On 2012/08/21 ...
8 years, 4 months ago (2012-08-21 20:50:01 UTC) #63
tudalex(Chromium)
https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/command_line_log_source.cc File chrome/browser/chromeos/system_logs/command_line_log_source.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/10022/chrome/browser/chromeos/system_logs/command_line_log_source.cc#newcode14 chrome/browser/chromeos/system_logs/command_line_log_source.cc:14: #include "base/file_util.h" On 2012/08/21 19:56:55, Lei Zhang wrote: > ...
8 years, 4 months ago (2012-08-21 21:21:12 UTC) #64
Lei Zhang
lgtm with nit below: https://chromiumcodereview.appspot.com/10827130/diff/22020/chrome/browser/chromeos/system_logs/command_line_log_source.cc File chrome/browser/chromeos/system_logs/command_line_log_source.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/22020/chrome/browser/chromeos/system_logs/command_line_log_source.cc#newcode66 chrome/browser/chromeos/system_logs/command_line_log_source.cc:66: base::Bind(&ExecuteCommandLines, response), You removed base/bind.h ...
8 years, 4 months ago (2012-08-21 21:42:50 UTC) #65
tudalex(Chromium)
https://chromiumcodereview.appspot.com/10827130/diff/22020/chrome/browser/chromeos/system_logs/command_line_log_source.cc File chrome/browser/chromeos/system_logs/command_line_log_source.cc (right): https://chromiumcodereview.appspot.com/10827130/diff/22020/chrome/browser/chromeos/system_logs/command_line_log_source.cc#newcode66 chrome/browser/chromeos/system_logs/command_line_log_source.cc:66: base::Bind(&ExecuteCommandLines, response), On 2012/08/21 21:42:50, Lei Zhang wrote: > ...
8 years, 4 months ago (2012-08-21 21:58:07 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tudalex@chromium.org/10827130/10026
8 years, 4 months ago (2012-08-22 16:19:00 UTC) #67
commit-bot: I haz the power
Try job failure for 10827130-10026 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 17:49:40 UTC) #68
satorux1
http://codereview.chromium.org/10827130/diff/10026/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/10026/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode56 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:56: DCHECK(ok); Would be nice to have some message like: ...
8 years, 4 months ago (2012-08-22 19:55:43 UTC) #69
tudalex(Chromium)
http://codereview.chromium.org/10827130/diff/10026/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc File chrome/browser/chromeos/system_logs/system_logs_fetcher.cc (right): http://codereview.chromium.org/10827130/diff/10026/chrome/browser/chromeos/system_logs/system_logs_fetcher.cc#newcode56 chrome/browser/chromeos/system_logs/system_logs_fetcher.cc:56: DCHECK(ok); On 2012/08/22 19:55:43, satorux1 wrote: > Would be ...
8 years, 4 months ago (2012-08-22 20:05:25 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tudalex@chromium.org/10827130/35001
8 years, 4 months ago (2012-08-22 20:06:23 UTC) #71
commit-bot: I haz the power
8 years, 4 months ago (2012-08-22 22:52:36 UTC) #72
Change committed as 152856

Powered by Google App Engine
This is Rietveld 408576698