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

Unified Diff: chrome/browser/chromeos/dbus/cros_disks_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/cros_disks_client.cc
diff --git a/chrome/browser/chromeos/dbus/cros_disks_client.cc b/chrome/browser/chromeos/dbus/cros_disks_client.cc
index 210a71d17393d47b17aeb9eb5346b773be7ed0b0..23dfe9f5113b2dbb71fe824777206ed18f150dcc 100644
--- a/chrome/browser/chromeos/dbus/cros_disks_client.cc
+++ b/chrome/browser/chromeos/dbus/cros_disks_client.cc
@@ -5,8 +5,8 @@
#include "chrome/browser/chromeos/dbus/cros_disks_client.h"
#include "base/bind.h"
+#include "base/chromeos/chromeos_version.h"
#include "base/stl_util.h"
-#include "chrome/browser/chromeos/system/runtime_environment.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_path.h"
@@ -557,7 +557,7 @@ CrosDisksClient::~CrosDisksClient() {}
// static
CrosDisksClient* CrosDisksClient::Create(dbus::Bus* bus) {
- if (system::runtime_environment::IsRunningOnChromeOS())
+ if (base::chromeos::IsRunningOnChromeOS())
return new CrosDisksClientImpl(bus);
else
return new CrosDisksClientStubImpl();
« no previous file with comments | « chrome/browser/chromeos/dbus/cros_dbus_service.cc ('k') | chrome/browser/chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698