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

Unified Diff: chrome/browser/chromeos/dbus/bluetooth_node_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_node_client.cc
diff --git a/chrome/browser/chromeos/dbus/bluetooth_node_client.cc b/chrome/browser/chromeos/dbus/bluetooth_node_client.cc
index ee74034ecadb54be9fdea8550c01d5b2eb68c157..07521aa9b5688be995647015869e6574cb864950 100644
--- a/chrome/browser/chromeos/dbus/bluetooth_node_client.cc
+++ b/chrome/browser/chromeos/dbus/bluetooth_node_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_device_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"
@@ -192,7 +192,7 @@ BluetoothNodeClient::~BluetoothNodeClient() {
BluetoothNodeClient* BluetoothNodeClient::Create(
dbus::Bus* bus,
BluetoothDeviceClient* adapter_client) {
- if (system::runtime_environment::IsRunningOnChromeOS()) {
+ if (base::chromeos::IsRunningOnChromeOS()) {
return new BluetoothNodeClientImpl(bus, adapter_client);
} else {
return new BluetoothNodeClientStubImpl();
« no previous file with comments | « chrome/browser/chromeos/dbus/bluetooth_manager_client.cc ('k') | chrome/browser/chromeos/dbus/cros_dbus_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698