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

Unified Diff: chrome/browser/chromeos/dbus/introspectable_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/introspectable_client.cc
diff --git a/chrome/browser/chromeos/dbus/introspectable_client.cc b/chrome/browser/chromeos/dbus/introspectable_client.cc
index 6e80c0d09bfb29cf5a9d554be911eed40d192879..508e1da20ff0eca2516df6ee6ca7e3b3514d1394 100644
--- a/chrome/browser/chromeos/dbus/introspectable_client.cc
+++ b/chrome/browser/chromeos/dbus/introspectable_client.cc
@@ -9,7 +9,7 @@
#include "base/bind.h"
#include "base/logging.h"
-#include "chrome/browser/chromeos/system/runtime_environment.h"
+#include "base/chromeos/chromeos_version.h"
#include "chrome/common/libxml_utils.h"
#include "dbus/bus.h"
#include "dbus/message.h"
@@ -144,7 +144,7 @@ std::vector<std::string> IntrospectableClient::GetInterfacesFromXmlData(
// static
IntrospectableClient* IntrospectableClient::Create(dbus::Bus* bus) {
- if (system::runtime_environment::IsRunningOnChromeOS()) {
+ if (base::chromeos::IsRunningOnChromeOS()) {
return new IntrospectableClientImpl(bus);
} else {
return new IntrospectableClientStubImpl();
« no previous file with comments | « chrome/browser/chromeos/dbus/image_burner_client.cc ('k') | chrome/browser/chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698