Index: chrome_frame/chrome_launcher_main.cc |
diff --git a/chrome_frame/chrome_launcher_main.cc b/chrome_frame/chrome_launcher_main.cc |
deleted file mode 100644 |
index 462a31728d4ce76e7acd5d0e5a1ffeda4cb30ee6..0000000000000000000000000000000000000000 |
--- a/chrome_frame/chrome_launcher_main.cc |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-// 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 <windows.h> |
-#include <DbgHelp.h> |
-#include <string> |
- |
-#include "chrome_frame/chrome_launcher.h" |
-#include "chrome_frame/crash_server_init.h" |
-#include "chrome_frame/update_launcher.h" |
- |
-int APIENTRY wWinMain(HINSTANCE, HINSTANCE, wchar_t*, int) { |
- google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad( |
- InitializeCrashReporting(NORMAL)); |
- |
- const wchar_t* cmd_line = ::GetCommandLine(); |
- std::wstring update_command( |
- update_launcher::GetUpdateCommandFromArguments(cmd_line)); |
- |
- UINT exit_code = ERROR_FILE_NOT_FOUND; |
- |
- if (!update_command.empty()) |
- exit_code = update_launcher::LaunchUpdateCommand(update_command); |
- else if (chrome_launcher::SanitizeAndLaunchChrome(cmd_line)) |
- exit_code = ERROR_SUCCESS; |
- |
- return exit_code; |
-} |