summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 20:32:05 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 20:32:05 +0000
commite649f081014c41fe0b548e9f6eeb2abd94aac4a0 (patch)
treeba4febe5b4effb5f7841277ee36815d4281c73a1 /chrome/browser
parente491f1cb8247090047bd8c895e9bd2bf4de5ee5a (diff)
downloadchromium_src-e649f081014c41fe0b548e9f6eeb2abd94aac4a0.zip
chromium_src-e649f081014c41fe0b548e9f6eeb2abd94aac4a0.tar.gz
chromium_src-e649f081014c41fe0b548e9f6eeb2abd94aac4a0.tar.bz2
Fix mac.
TBR=eglaysher git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16787 0039d316-1c4b-4281-b951-d872f2087c98
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;