summaryrefslogtreecommitdiffstats
path: root/chrome/app/client_util.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 01:23:32 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 01:23:32 +0000
commit1979689363e58c9917d751d5134287d8616528e5 (patch)
tree6342d081e86670f1a05b07933888278d6e355759 /chrome/app/client_util.cc
parent27d3571b99a7e69bedb8ac0282b981325906edc2 (diff)
downloadchromium_src-1979689363e58c9917d751d5134287d8616528e5.zip
chromium_src-1979689363e58c9917d751d5134287d8616528e5.tar.gz
chromium_src-1979689363e58c9917d751d5134287d8616528e5.tar.bz2
Revert r46023: "Detect new instance of the browser when running in the background in persistent"
Broke the build. Review URL: http://codereview.chromium.org/1718024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/client_util.cc')
-rw-r--r--chrome/app/client_util.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc
index c822ec8..074b6c8 100644
--- a/chrome/app/client_util.cc
+++ b/chrome/app/client_util.cc
@@ -18,8 +18,6 @@ namespace {
// The entry point signature of chrome.dll.
typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*);
-typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)();
-
// Not generic, we only handle strings up to 128 chars.
bool ReadRegistryStr(HKEY key, const wchar_t* name, std::wstring* value) {
BYTE out[128 * sizeof(wchar_t)];
@@ -198,19 +196,6 @@ int MainDllLoader::Launch(HINSTANCE instance,
return OnBeforeExit(rc);
}
-void MainDllLoader::RelaunchChromeBrowserWithNewCommandLineIfNeeded() {
- RelaunchChromeBrowserWithNewCommandLineIfNeededFunc relaunch_function =
- reinterpret_cast<RelaunchChromeBrowserWithNewCommandLineIfNeededFunc>(
- ::GetProcAddress(dll_,
- "RelaunchChromeBrowserWithNewCommandLineIfNeeded"));
- if (!relaunch_function) {
- LOG(ERROR) << "Could not find exported function "
- << "RelaunchChromeBrowserWithNewCommandLineIfNeeded";
- } else {
- relaunch_function();
- }
-}
-
//=============================================================================
class ChromeDllLoader : public MainDllLoader {