Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ | |
| 6 #define CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ | |
| 7 | |
| 8 #include <windows.h> | |
| 9 | |
| 10 #include "base/files/file_path.h" | |
|
grt (UTC plus 2)
2013/05/14 13:49:32
move the #include into the .cc file and instead fo
koz (OOO until 15th September)
2013/05/15 03:31:36
Done.
| |
| 11 | |
| 12 namespace chrome { | |
| 13 | |
| 14 // Finds an already running Chrome window if it exists. | |
| 15 HWND FindRunningChromeWindow(const base::FilePath& user_data_dir); | |
| 16 | |
| 17 // Attempts to send the current command line to an already running instance of | |
| 18 // Chrome via a WM_COPYDATA message. | |
| 19 // Returns true if a running Chrome is found and successfully notified. | |
| 20 bool AttemptToNotifyRunningChrome(HWND remote_window); | |
| 21 | |
| 22 } // namespace chrome | |
| 23 | |
| 24 #endif // CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ | |
| OLD | NEW |