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

Issue 553051: Add support for UserIdleTime to Linux. (Closed)

Created:
10 years, 11 months ago by Zachary Kuznia
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ncarter (slow), ben+cc_chromium.org, tim (not reviewing), idana
Visibility:
Public.

Description

Add support for UserIdleTime to Linux. BUG=32421 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37136

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -76 lines) Patch
M build/install-build-deps.sh View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/sync/engine/idle_query_linux.h View 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/sync/engine/idle_query_linux.cc View 2 3 4 5 6 1 chunk +57 lines, -0 lines 1 comment Download
M chrome/browser/sync/engine/syncer_thread.h View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.cc View 1 2 3 4 5 6 7 8 9 4 chunks +85 lines, -74 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Zachary Kuznia
10 years, 11 months ago (2010-01-22 00:32:01 UTC) #1
Elliot Glaysher
http://codereview.chromium.org/553051/diff/3003/4008 File chrome/browser/sync/engine/idle_query_linux.cc (right): http://codereview.chromium.org/553051/diff/3003/4008#newcode53 chrome/browser/sync/engine/idle_query_linux.cc:53: &event_base, &error_base)) { I believe XScreenSaverQueryExtension should be called ...
10 years, 11 months ago (2010-01-22 00:47:44 UTC) #2
akalin
LGTM from sync side. (I don't know X stuff that well so I'll let erg ...
10 years, 11 months ago (2010-01-22 00:53:06 UTC) #3
Zachary Kuznia
http://codereview.chromium.org/553051/diff/3003/4008 File chrome/browser/sync/engine/idle_query_linux.cc (right): http://codereview.chromium.org/553051/diff/3003/4008#newcode53 chrome/browser/sync/engine/idle_query_linux.cc:53: &event_base, &error_base)) { On 2010/01/22 00:47:44, Elliot Glaysher wrote: ...
10 years, 11 months ago (2010-01-22 01:22:44 UTC) #4
Elliot Glaysher
X stuff LGTM
10 years, 11 months ago (2010-01-22 01:26:05 UTC) #5
akalin
LGTM after these comments http://codereview.chromium.org/553051/diff/7001/8006 File chrome/browser/sync/engine/idle_query_linux.cc (right): http://codereview.chromium.org/553051/diff/7001/8006#newcode34 chrome/browser/sync/engine/idle_query_linux.cc:34: XScreenSaverInfo *mit_info_; since these variables ...
10 years, 11 months ago (2010-01-22 01:56:26 UTC) #6
William Hesse
http://codereview.chromium.org/553051/diff/5008/2023 File chrome/browser/sync/engine/idle_query_linux.cc (right): http://codereview.chromium.org/553051/diff/5008/2023#newcode7 chrome/browser/sync/engine/idle_query_linux.cc:7: #include <X11/extensions/scrnsaver.h> I'm not sure that we have this ...
10 years, 11 months ago (2010-01-27 16:17:17 UTC) #7
William Hesse
10 years, 11 months ago (2010-01-27 16:27:44 UTC) #8
On 2010/01/27 16:17:17, William Hesse wrote:
> http://codereview.chromium.org/553051/diff/5008/2023
> File chrome/browser/sync/engine/idle_query_linux.cc (right):
> 
> http://codereview.chromium.org/553051/diff/5008/2023#newcode7
> chrome/browser/sync/engine/idle_query_linux.cc:7: #include
> <X11/extensions/scrnsaver.h>
> I'm not sure that we have this include file listed as a dependency for
Chromium.
>  What (Debian or Ubuntu) package is it in, that we should have it? 
> x11proto-scrnsaver-dev? Is this listed on
> http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites?

I guess we should add libxss-dev to the prerequisites list.

Powered by Google App Engine
This is Rietveld 408576698