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

Side by Side Diff: chrome/test/chromedriver/chrome_launcher.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
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_LAUNCHER_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 9
10 class Chrome; 10 class Chrome;
11 class Status;
12
13 namespace base {
11 class FilePath; 14 class FilePath;
12 class Status; 15 }
13 16
14 // Launches Chrome. Must be thread safe. 17 // Launches Chrome. Must be thread safe.
15 class ChromeLauncher { 18 class ChromeLauncher {
16 public: 19 public:
17 virtual ~ChromeLauncher() {} 20 virtual ~ChromeLauncher() {}
18 21
19 // Launches Chrome found at the given path. If the path 22 // Launches Chrome found at the given path. If the path
20 // is empty, the default Chrome binary is to be used. 23 // is empty, the default Chrome binary is to be used.
21 virtual Status Launch(const FilePath& chrome_exe, 24 virtual Status Launch(const base::FilePath& chrome_exe,
22 scoped_ptr<Chrome>* chrome) = 0; 25 scoped_ptr<Chrome>* chrome) = 0;
23 }; 26 };
24 27
25 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ 28 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome_finder.h ('k') | chrome/test/chromedriver/chrome_launcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698