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

Unified Diff: chrome/browser/chromeos/audio/audio_mixer_alsa.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/audio/audio_mixer_alsa.cc
diff --git a/chrome/browser/chromeos/audio/audio_mixer_alsa.cc b/chrome/browser/chromeos/audio/audio_mixer_alsa.cc
index f84f6e559d24c7a875f694e5f6b9ba784fdce7bb..05dc5277f3fe2963805e60f25ad243bd8d686073 100644
--- a/chrome/browser/chromeos/audio/audio_mixer_alsa.cc
+++ b/chrome/browser/chromeos/audio/audio_mixer_alsa.cc
@@ -13,11 +13,11 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
+#include "base/chromeos/chromeos_version.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/threading/thread.h"
#include "base/threading/thread_restrictions.h"
-#include "chrome/browser/chromeos/system/runtime_environment.h"
#include "chrome/browser/extensions/extension_tts_api_chromeos.h"
#include "content/public/browser/browser_thread.h"
@@ -151,7 +151,7 @@ void AudioMixerAlsa::Connect() {
return;
// Do not attempt to connect if we're not on the device.
- if (!system::runtime_environment::IsRunningOnChromeOS())
+ if (!base::chromeos::IsRunningOnChromeOS())
return;
if (!ConnectInternal()) {
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_ash.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698