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

Unified Diff: base/chromeos/chromeos_version.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
« no previous file with comments | « base/chromeos/chromeos_version.h ('k') | chrome/browser/chrome_browser_main_extra_parts_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/chromeos/chromeos_version.cc
diff --git a/chrome/browser/chromeos/system/runtime_environment.cc b/base/chromeos/chromeos_version.cc
similarity index 67%
rename from chrome/browser/chromeos/system/runtime_environment.cc
rename to base/chromeos/chromeos_version.cc
index e85eb8241afb3839094f68c34929e8057e7332ae..4a70cd5312aad80213e9eb3cdd7c9e6ec420411b 100644
--- a/chrome/browser/chromeos/system/runtime_environment.cc
+++ b/base/chromeos/chromeos_version.cc
@@ -1,17 +1,16 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chromeos/system/runtime_environment.h"
+#include "base/chromeos/chromeos_version.h"
#include <stdlib.h>
#include <string.h>
#include "base/logging.h"
+namespace base {
namespace chromeos {
-namespace system {
-namespace runtime_environment {
bool IsRunningOnChromeOS() {
// Check if the user name is chronos. Note that we don't go with
@@ -21,6 +20,5 @@ bool IsRunningOnChromeOS() {
return user && strcmp(user, "chronos") == 0;
}
-} // namespace runtime_environment
-} // namespace system
} // namespace chromeos
+} // namespace base
« no previous file with comments | « base/chromeos/chromeos_version.h ('k') | chrome/browser/chrome_browser_main_extra_parts_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698