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

Unified Diff: chrome/browser/chromeos/dbus/bluetooth_input_client.cc

Issue 9546013: Move IsRunningOnChromeOS to base/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos_version,sync,cleanup Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/dbus/bluetooth_input_client.cc
diff --git a/chrome/browser/chromeos/dbus/bluetooth_input_client.cc b/chrome/browser/chromeos/dbus/bluetooth_input_client.cc
index ce8e6411c00b8df59519bc2d664715a2afcdc865..61d62260df3258a93324c2d851a7ac2496a69333 100644
--- a/chrome/browser/chromeos/dbus/bluetooth_input_client.cc
+++ b/chrome/browser/chromeos/dbus/bluetooth_input_client.cc
@@ -7,11 +7,11 @@
#include <map>
#include "base/bind.h"
+#include "base/chromeos/chromeos_version.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "chrome/browser/chromeos/dbus/bluetooth_adapter_client.h"
#include "chrome/browser/chromeos/dbus/bluetooth_property.h"
-#include "chrome/browser/chromeos/system/runtime_environment.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_path.h"
@@ -255,7 +255,7 @@ BluetoothInputClient::~BluetoothInputClient() {
BluetoothInputClient* BluetoothInputClient::Create(
dbus::Bus* bus,
BluetoothAdapterClient* adapter_client) {
- if (system::runtime_environment::IsRunningOnChromeOS()) {
+ if (base::chromeos::IsRunningOnChromeOS()) {
return new BluetoothInputClientImpl(bus, adapter_client);
} else {
return new BluetoothInputClientStubImpl();
« no previous file with comments | « chrome/browser/chromeos/dbus/bluetooth_device_client.cc ('k') | chrome/browser/chromeos/dbus/bluetooth_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698