Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Side by Side Diff: chrome/test/chromedriver/chrome_finder.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/base/ui_test_utils.h ('k') | chrome/test/chromedriver/chrome_launcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 11
12 namespace base {
12 class FilePath; 13 class FilePath;
14 }
13 15
14 // Gets the path to the default Chrome executable. Returns true on success. 16 // Gets the path to the default Chrome executable. Returns true on success.
15 bool FindChrome(FilePath* browser_exe); 17 bool FindChrome(base::FilePath* browser_exe);
16 18
17 namespace internal { 19 namespace internal {
18 20
19 bool FindExe( 21 bool FindExe(
20 const base::Callback<bool(const FilePath&)>& exists_func, 22 const base::Callback<bool(const base::FilePath&)>& exists_func,
21 const std::vector<FilePath>& rel_paths, 23 const std::vector<base::FilePath>& rel_paths,
22 const std::vector<FilePath>& locations, 24 const std::vector<base::FilePath>& locations,
23 FilePath* out_path); 25 base::FilePath* out_path);
24 26
25 } // namespace internal 27 } // namespace internal
26 28
27 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_ 29 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_FINDER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.h ('k') | chrome/test/chromedriver/chrome_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698