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

Unified Diff: chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc

Issue 23904025: Move IsRunningOnChromeOS to SysInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge fix Created 7 years, 3 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
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/ash/event_rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc b/chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc
index a58fab80bee14d6a08696feed0be58bd395547ab..acddcb52ce3913cbcd8527856771db477814a8ac 100644
--- a/chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/caps_lock_delegate_chromeos.cc
@@ -4,16 +4,16 @@
#include "chrome/browser/ui/ash/caps_lock_delegate_chromeos.h"
-#include "base/chromeos/chromeos_version.h"
#include "base/command_line.h"
#include "base/logging.h"
+#include "base/sys_info.h"
#include "chrome/common/chrome_switches.h"
#include "chromeos/ime/xkeyboard.h"
#include "content/public/browser/browser_thread.h"
CapsLockDelegate::CapsLockDelegate(chromeos::input_method::XKeyboard* xkeyboard)
: xkeyboard_(xkeyboard),
- is_running_on_chromeos_(base::chromeos::IsRunningOnChromeOS()),
+ is_running_on_chromeos_(base::SysInfo::IsRunningOnChromeOS()),
caps_lock_is_on_(xkeyboard_->CapsLockIsEnabled()) {
chromeos::SystemKeyEventListener* system_event_listener =
chromeos::SystemKeyEventListener::GetInstance();
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/ash/event_rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698