summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_exe_main_gtk.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 21:46:57 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 21:46:57 +0000
commitbc38c254e32398b444dbccd391c2ae3d6f182001 (patch)
treea1e4ba91782a44147002ac30d6a57c0c0b535830 /chrome/app/chrome_exe_main_gtk.cc
parent75e20841bd18a6053aa41b754ddfcaa1445435d8 (diff)
downloadchromium_src-bc38c254e32398b444dbccd391c2ae3d6f182001.zip
chromium_src-bc38c254e32398b444dbccd391c2ae3d6f182001.tar.gz
chromium_src-bc38c254e32398b444dbccd391c2ae3d6f182001.tar.bz2
first-run: Refactor Upgrade class.
- Split Upgrade class implementation per platform files outside of first_run implementations. - Move TryChromeDialog class into its own header file. - Rename TryChromeDialog to TryChromeDialogView. BUG=None TEST=None R=jhawkins@chromium.org Review URL: http://codereview.chromium.org/6824029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_exe_main_gtk.cc')
-rw-r--r--chrome/app/chrome_exe_main_gtk.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/app/chrome_exe_main_gtk.cc b/chrome/app/chrome_exe_main_gtk.cc
index 35764af..bf9589d 100644
--- a/chrome/app/chrome_exe_main_gtk.cc
+++ b/chrome/app/chrome_exe_main_gtk.cc
@@ -1,10 +1,12 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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 "base/process_util.h"
+#include "build/build_config.h"
+
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/first_run/upgrade.h"
#endif
// The entry point for all invocations of Chromium, browser and renderer. On
@@ -20,10 +22,8 @@ extern "C" {
int ChromeMain(int argc, const char** argv);
#if defined(OS_LINUX) && defined(USE_TCMALLOC)
-
int tc_set_new_mode(int mode);
-
-#endif // defined(OS_LINUX) && defined(USE_TCMALLOC)
+#endif
}
int main(int argc, const char** argv) {