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

Unified Diff: chrome/browser/first_run.cc

Issue 173020: Make Mac first run store sentinel in Profile directory. (Closed)
Patch Set: spelling Created 11 years, 4 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/first_run.cc
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index 712d3b105cbdfd42a317db0ff05854b1888e13a9..67069bac215c6339ef42c3ed95ba0fb1817b6169 100644
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -57,8 +57,6 @@ bool GetFirstRunSentinelFilePath(FilePath* path) {
} // namespace
-// TODO(port): Mac should share this code.
-#if !defined(OS_MACOSX)
bool FirstRun::IsChromeFirstRun() {
// A troolean, 0 means not yet set, 1 means set to true, 2 set to false.
Mark Mentovai 2009/08/18 21:51:48 Ought to be an enum.
static int first_run = 0;
@@ -74,7 +72,6 @@ bool FirstRun::IsChromeFirstRun() {
first_run = 1;
return true;
}
-#endif
bool FirstRun::RemoveSentinel() {
FilePath first_run_sentinel;

Powered by Google App Engine
This is Rietveld 408576698