Do some browser_main cleanup. This moves ChromeOS login manager and some first
run UI stuff to new helper functions. It renames CheckForWin2000 to a generic
one that each platform can implement according to its needs. I removed the
Platform namespace which was improperly named, and didn't seem to be helping
anything anyway.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/1139009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42528 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc
index 833807a..8fba8c3 100644
--- a/chrome/browser/browser_main_win.cc
+++ b/chrome/browser/browser_main_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
 
@@ -29,8 +29,6 @@
 #include "views/focus/accelerator_handler.h"
 #include "views/window/window.h"
 
-namespace Platform {
-
 void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) {
   OleInitialize(NULL);
 }
@@ -45,19 +43,14 @@
   metrics->RecordBreakpadHasDebugger(TRUE == ::IsDebuggerPresent());
 }
 
-}  // namespace Platform
-
-// Displays a warning message if the user is running chrome on windows 2000.
-// Returns true if the OS is win2000, false otherwise.
-bool CheckForWin2000() {
+void WarnAboutMinimumSystemRequirements() {
   if (win_util::GetWinVersion() == win_util::WINVERSION_2000) {
+    // Display a warning message if the user is running chrome on Windows 2000.
     const std::wstring text = l10n_util::GetString(IDS_UNSUPPORTED_OS_WIN2000);
     const std::wstring caption = l10n_util::GetString(IDS_PRODUCT_NAME);
     win_util::MessageBox(NULL, text, caption,
                          MB_OK | MB_ICONWARNING | MB_TOPMOST);
-    return true;
   }
-  return false;
 }
 
 int AskForUninstallConfirmation() {