summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/cros_library.cc
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-01 05:20:51 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-01 05:20:51 +0000
commita8c118bfeeea1eb70a6215e0e90789d03d817e58 (patch)
treee03819336b75ec3bf4db84854009a06bacafe041 /chrome/browser/chromeos/cros/cros_library.cc
parent3fda6cda9e170c4f75c8c15cc1082b4f6e42cfdb (diff)
downloadchromium_src-a8c118bfeeea1eb70a6215e0e90789d03d817e58.zip
chromium_src-a8c118bfeeea1eb70a6215e0e90789d03d817e58.tar.gz
chromium_src-a8c118bfeeea1eb70a6215e0e90789d03d817e58.tar.bz2
Rework BrightnessLibrary using DBusThreadManager.
This means we no longer use libcros to handle the screen brightness. The brightness changed signal is handled in power_manager_client.cc, rather than in libcros. TEST=confirm that brightness change keys work as before. BUG=chromium-os:18904 Review URL: http://codereview.chromium.org/8044034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_library.cc')
-rw-r--r--chrome/browser/chromeos/cros/cros_library.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/cros/cros_library.cc b/chrome/browser/chromeos/cros/cros_library.cc
index 9e4596f..63e61f1 100644
--- a/chrome/browser/chromeos/cros/cros_library.cc
+++ b/chrome/browser/chromeos/cros/cros_library.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/chromeos/cros/cros_library.h"
-#include "chrome/browser/chromeos/cros/brightness_library.h"
#include "chrome/browser/chromeos/cros/burn_library.h"
#include "chrome/browser/chromeos/cros/cert_library.h"
#include "chrome/browser/chromeos/cros/cryptohome_library.h"
@@ -82,7 +81,6 @@ CrosLibrary* CrosLibrary::Get() {
return g_cros_library;
}
-DEFINE_GET_LIBRARY_METHOD(Brightness, brightness);
DEFINE_GET_LIBRARY_METHOD(Burn, burn);
DEFINE_GET_LIBRARY_METHOD(Cert, cert);
DEFINE_GET_LIBRARY_METHOD(Cryptohome, crypto);
@@ -131,7 +129,6 @@ void CrosLibrary::TestApi::SetLibraryLoader(LibraryLoader* loader, bool own) {
library_->load_error_ = false;
}
-DEFINE_SET_LIBRARY_METHOD(Brightness, brightness);
DEFINE_SET_LIBRARY_METHOD(Cert, cert);
DEFINE_SET_LIBRARY_METHOD(Burn, burn);
DEFINE_SET_LIBRARY_METHOD(Cryptohome, crypto);