| Index: chrome/test/chromedriver/chrome_impl.h
|
| diff --git a/chrome/test/chromedriver/chrome_impl.h b/chrome/test/chromedriver/chrome_impl.h
|
| index 1a6d1c8ccecbd9a7e20c9c0fd6b92259fda703eb..5f6056eaf8c4becd0d446170b7b1519e7089cf04 100644
|
| --- a/chrome/test/chromedriver/chrome_impl.h
|
| +++ b/chrome/test/chromedriver/chrome_impl.h
|
| @@ -5,24 +5,47 @@
|
| #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_
|
| #define CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_
|
|
|
| +#include <list>
|
| +#include <string>
|
| +
|
| #include "base/compiler_specific.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/process.h"
|
| #include "chrome/test/chromedriver/chrome.h"
|
|
|
| +class DevToolsClient;
|
| class Status;
|
| +class URLRequestContextGetter;
|
|
|
| class ChromeImpl : public Chrome {
|
| public:
|
| - ChromeImpl(base::ProcessHandle process, base::ScopedTempDir* user_data_dir);
|
| + ChromeImpl(base::ProcessHandle process,
|
| + URLRequestContextGetter* context_getter,
|
| + base::ScopedTempDir* user_data_dir,
|
| + int port);
|
| virtual ~ChromeImpl();
|
|
|
| + Status Init();
|
| +
|
| // Overridden from Chrome:
|
| + virtual Status Load(const std::string& url) OVERRIDE;
|
| virtual Status Quit() OVERRIDE;
|
|
|
| private:
|
| base::ProcessHandle process_;
|
| + scoped_refptr<URLRequestContextGetter> context_getter_;
|
| base::ScopedTempDir user_data_dir_;
|
| + int port_;
|
| + scoped_ptr<DevToolsClient> client_;
|
| };
|
|
|
| +namespace internal {
|
| +
|
| +Status ParsePagesInfo(const std::string& data,
|
| + std::list<std::string>* debugger_urls);
|
| +
|
| +} // namespace internal
|
| +
|
| #endif // CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_
|
|
|