Chromium Code Reviews| Index: chrome/browser/chrome_process_finder_win.h |
| diff --git a/chrome/browser/chrome_process_finder_win.h b/chrome/browser/chrome_process_finder_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9aad4aaac4ddc09f39eb0d0ac54fc3258b39d92c |
| --- /dev/null |
| +++ b/chrome/browser/chrome_process_finder_win.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2013 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. |
| + |
| +#ifndef CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ |
| +#define CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ |
| + |
| +#include <windows.h> |
| + |
| +#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.
|
| + |
| +namespace chrome { |
| + |
| +// Finds an already running Chrome window if it exists. |
| +HWND FindRunningChromeWindow(const base::FilePath& user_data_dir); |
| + |
| +// Attempts to send the current command line to an already running instance of |
| +// Chrome via a WM_COPYDATA message. |
| +// Returns true if a running Chrome is found and successfully notified. |
| +bool AttemptToNotifyRunningChrome(HWND remote_window); |
| + |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_CHROME_PROCESS_FINDER_WIN_H_ |