diff options
Diffstat (limited to 'chrome/browser/chrome_process_finder_win.cc')
-rw-r--r-- | chrome/browser/chrome_process_finder_win.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/chrome_process_finder_win.cc b/chrome/browser/chrome_process_finder_win.cc index c7a4985..34f6761 100644 --- a/chrome/browser/chrome_process_finder_win.cc +++ b/chrome/browser/chrome_process_finder_win.cc @@ -93,7 +93,7 @@ std::string EscapeQueryParamValue(const std::string& text, bool use_plus) { // END COPY from net/base/escape.cc -} +} // namespace namespace chrome { @@ -102,7 +102,8 @@ HWND FindRunningChromeWindow(const base::FilePath& user_data_dir) { user_data_dir.value().c_str()); } -NotifyChromeResult AttemptToNotifyRunningChrome(HWND remote_window) { +NotifyChromeResult AttemptToNotifyRunningChrome(HWND remote_window, + bool fast_start) { DCHECK(remote_window); static const char kSearchUrl[] = "http://www.google.com/search?q=%s&sourceid=chrome&ie=UTF-8"; @@ -150,6 +151,9 @@ NotifyChromeResult AttemptToNotifyRunningChrome(HWND remote_window) { base::Int64ToString( base::CurrentProcessInfo::CreationTime()->ToInternalValue())); + if (fast_start) + command_line.AppendSwitch(switches::kFastStart); + // Send the command line to the remote chrome window. // Format is "START\0<<<current directory>>>\0<<<commandline>>>". std::wstring to_send(L"START\0", 6); // want the NULL in the string. |