summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/first_run.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index 7c5d702..15cc575 100644
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -56,6 +56,8 @@ 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.
static int first_run = 0;
@@ -71,6 +73,7 @@ bool FirstRun::IsChromeFirstRun() {
first_run = 1;
return true;
}
+#endif
bool FirstRun::RemoveSentinel() {
FilePath first_run_sentinel;