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

Unified Diff: chrome/browser/chromeos/input_method/input_method_persistence.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
Index: chrome/browser/chromeos/input_method/input_method_persistence.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_persistence.cc b/chrome/browser/chromeos/input_method/input_method_persistence.cc
index da379941324bd8e2b925c241fb46acbda857c696..47beee50743b5361d69757ccbfee4e50d3a02711 100644
--- a/chrome/browser/chromeos/input_method/input_method_persistence.cc
+++ b/chrome/browser/chromeos/input_method/input_method_persistence.cc
@@ -4,9 +4,9 @@
#include "chrome/browser/chromeos/input_method/input_method_persistence.h"
-#include "base/chromeos/chromeos_version.h"
#include "base/logging.h"
#include "base/prefs/pref_service.h"
+#include "base/sys_info.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/input_method/input_method_util.h"
#include "chrome/browser/chromeos/language_preferences.h"
@@ -47,7 +47,7 @@ static void SetUserLRUInputMethod(
return;
const std::string username = profile->GetProfileName();
- if (base::chromeos::IsRunningOnChromeOS() && !username.empty() &&
+ if (base::SysInfo::IsRunningOnChromeOS() && !username.empty() &&
!local_state->ReadOnly()) {
bool update_succeed = false;
{

Powered by Google App Engine
This is Rietveld 408576698