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

Issue 8271010: chromeos: Move BrightnessObserver initialization to the right place. (Closed)

Created:
9 years, 2 months ago by satorux1
Modified:
9 years, 2 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, stevenjb, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

chromeos: Move BrightnessObserver initialization to the right place. We should do this right after DBusThreadManager is initialized, not at a random place in a huge function in chrome_browser_main.cc. Besides, we should remove the observer before DBusThreadManager is shut down. TEST=brightness controls work as before BUG=chromium-os:16551 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105464

Patch Set 1 #

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -12 lines) Patch
M chrome/browser/chrome_browser_main.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
satorux1
9 years, 2 months ago (2011-10-13 17:35:44 UTC) #1
stevenjb
9 years, 2 months ago (2011-10-13 21:55:28 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698