OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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_TEST_CHROMEDRIVER_CHROME_FINDER_H_ | |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_ | |
7 | |
8 #include <vector> | |
9 | |
10 #include "base/callback_forward.h" | |
11 | |
12 namespace base { | |
13 class FilePath; | |
14 } | |
15 | |
16 // Gets the path to the default Chrome executable. Returns true on success. | |
17 bool FindChrome(base::FilePath* browser_exe); | |
18 | |
19 namespace internal { | |
20 | |
21 bool FindExe( | |
22 const base::Callback<bool(const base::FilePath&)>& exists_func, | |
23 const std::vector<base::FilePath>& rel_paths, | |
24 const std::vector<base::FilePath>& locations, | |
25 base::FilePath* out_path); | |
26 | |
27 } // namespace internal | |
28 | |
29 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_ | |
OLD | NEW |