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

Issue 10829073: Add DeviceMonitorLinux in BrowserMainLoop. (Closed)

Created:
8 years, 4 months ago by wjia(left Chromium)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Robert Nagy
Visibility:
Public.

Description

Add DeviceMonitorLinux in BrowserMainLoop. The DeviceMonitorLinux detects device change and sends the signal to SystemMonitor. This patch depends on http://codereview.chromium.org/10836004/ BUG=137799 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149266

Patch Set 1 #

Total comments: 11

Patch Set 2 : change to always start device monitoring when browser is started #

Total comments: 14

Patch Set 3 : code review #

Total comments: 10

Patch Set 4 : code review #

Total comments: 4

Patch Set 5 : more code review #

Total comments: 4

Patch Set 6 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -1 line) Patch
M content/browser/browser_main_loop.h View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
A content/browser/device_monitor_linux.h View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/device_monitor_linux.cc View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tommi (sloooow) - chröme
http://codereview.chromium.org/10829073/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): http://codereview.chromium.org/10829073/diff/1/content/browser/browser_main_loop.cc#newcode353 content/browser/browser_main_loop.cc:353: devices_monitor_.reset(DevicesMonitor::Create()); inside an #else? http://codereview.chromium.org/10829073/diff/1/content/browser/browser_main_loop.h File content/browser/browser_main_loop.h (right): http://codereview.chromium.org/10829073/diff/1/content/browser/browser_main_loop.h#newcode47 ...
8 years, 4 months ago (2012-07-30 11:07:03 UTC) #1
wjia(left Chromium)
The new patch starts device monitoring when the browser is started on linux.
8 years, 4 months ago (2012-07-30 18:28:42 UTC) #2
tommi (sloooow) - chröme
Great! Lgtm with a few minor things fixed. http://codereview.chromium.org/10829073/diff/11001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): http://codereview.chromium.org/10829073/diff/11001/content/browser/browser_main_loop.cc#newcode70 content/browser/browser_main_loop.cc:70: #include ...
8 years, 4 months ago (2012-07-30 19:45:11 UTC) #3
wjia(left Chromium)
Robert - FYI http://codereview.chromium.org/10829073/diff/11001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): http://codereview.chromium.org/10829073/diff/11001/content/browser/browser_main_loop.cc#newcode70 content/browser/browser_main_loop.cc:70: #include "content/browser/device_monitor_linux.h" On 2012/07/30 19:45:11, tommi ...
8 years, 4 months ago (2012-07-30 21:00:13 UTC) #4
Lei Zhang
If I knew you were going to do this, I would have done for you ...
8 years, 4 months ago (2012-07-31 00:04:58 UTC) #5
wjia(left Chromium)
PTAL. http://codereview.chromium.org/10829073/diff/3005/content/browser/device_monitor_linux.cc File content/browser/device_monitor_linux.cc (right): http://codereview.chromium.org/10829073/diff/3005/content/browser/device_monitor_linux.cc#newcode9 content/browser/device_monitor_linux.cc:9: #include <libudev.h> On 2012/07/31 00:04:58, Lei Zhang wrote: ...
8 years, 4 months ago (2012-07-31 01:20:01 UTC) #6
Lei Zhang
http://codereview.chromium.org/10829073/diff/6005/content/browser/device_monitor_linux.cc File content/browser/device_monitor_linux.cc (right): http://codereview.chromium.org/10829073/diff/6005/content/browser/device_monitor_linux.cc#newcode78 content/browser/device_monitor_linux.cc:78: base::SystemMonitor::DeviceType device_type = Given the subsystems you are filtering ...
8 years, 4 months ago (2012-07-31 02:40:12 UTC) #7
wjia(left Chromium)
http://codereview.chromium.org/10829073/diff/6005/content/browser/device_monitor_linux.cc File content/browser/device_monitor_linux.cc (right): http://codereview.chromium.org/10829073/diff/6005/content/browser/device_monitor_linux.cc#newcode78 content/browser/device_monitor_linux.cc:78: base::SystemMonitor::DeviceType device_type = On 2012/07/31 02:40:12, Lei Zhang wrote: ...
8 years, 4 months ago (2012-07-31 02:53:10 UTC) #8
Lei Zhang
lgtm
8 years, 4 months ago (2012-07-31 02:54:19 UTC) #9
wjia(left Chromium)
add jam@ for owner's stamp.
8 years, 4 months ago (2012-07-31 03:01:45 UTC) #10
jam
http://codereview.chromium.org/10829073/diff/13008/content/browser/browser_main_loop.h File content/browser/browser_main_loop.h (right): http://codereview.chromium.org/10829073/diff/13008/content/browser/browser_main_loop.h#newcode47 content/browser/browser_main_loop.h:47: #if defined(OS_LINUX) nit: can you move this after the ...
8 years, 4 months ago (2012-07-31 15:46:05 UTC) #11
wjia(left Chromium)
PTAL. http://codereview.chromium.org/10829073/diff/13008/content/browser/browser_main_loop.h File content/browser/browser_main_loop.h (right): http://codereview.chromium.org/10829073/diff/13008/content/browser/browser_main_loop.h#newcode47 content/browser/browser_main_loop.h:47: #if defined(OS_LINUX) On 2012/07/31 15:46:05, John Abd-El-Malek wrote: ...
8 years, 4 months ago (2012-07-31 18:19:07 UTC) #12
jam
8 years, 4 months ago (2012-07-31 18:21:36 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698