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

Unified Diff: chrome/browser/chromeos/login/startup_utils.cc

Issue 1308833004: Show Goodies page to new Chromebook users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/login/startup_utils.cc
diff --git a/chrome/browser/chromeos/login/startup_utils.cc b/chrome/browser/chromeos/login/startup_utils.cc
index 7656ba403261a32c72270e5462e7b73e8a3d2427..93919129f71b2b33e832e8d7fbbbf1731ec587ce 100644
--- a/chrome/browser/chromeos/login/startup_utils.cc
+++ b/chrome/browser/chromeos/login/startup_utils.cc
@@ -95,7 +95,7 @@ void StartupUtils::SaveOobePendingScreen(const std::string& screen) {
// completed.
// On chrome device, returns /home/chronos/.oobe_completed.
// On Linux desktop, returns {DIR_USER_DATA}/.oobe_completed.
-static base::FilePath GetOobeCompleteFlagPath() {
+base::FilePath StartupUtils::GetOobeCompleteFlagPath() {
// The constant is defined here so it won't be referenced directly.
const char kOobeCompleteFlagFilePath[] = "/home/chronos/.oobe_completed";
@@ -110,7 +110,7 @@ static base::FilePath GetOobeCompleteFlagPath() {
static void CreateOobeCompleteFlagFile() {
// Create flag file for boot-time init scripts.
- base::FilePath oobe_complete_path = GetOobeCompleteFlagPath();
+ base::FilePath oobe_complete_path = StartupUtils::GetOobeCompleteFlagPath();
if (!base::PathExists(oobe_complete_path)) {
FILE* oobe_flag_file = base::OpenFile(oobe_complete_path, "w+b");
if (oobe_flag_file == NULL)

Powered by Google App Engine
This is Rietveld 408576698