blob: a0caa1ac024ff02a2d0211e967e2793999d77746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2012 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_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
#define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
#include "base/memory/scoped_ptr.h"
class Chrome;
class FilePath;
class Status;
// Launches Chrome. Must be thread safe.
class ChromeLauncher {
public:
virtual ~ChromeLauncher() {}
// Launches Chrome found at the given path. If the path
// is empty, the default Chrome binary is to be used.
virtual Status Launch(const FilePath& chrome_exe,
scoped_ptr<Chrome>* chrome) = 0;
};
#endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_
|