| OLD | NEW |
| 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_IMPL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/process.h" | 10 #include "base/process.h" |
| 10 #include "base/scoped_temp_dir.h" | |
| 11 #include "chrome/test/chromedriver/chrome.h" | 11 #include "chrome/test/chromedriver/chrome.h" |
| 12 | 12 |
| 13 class Status; | 13 class Status; |
| 14 | 14 |
| 15 class ChromeImpl : public Chrome { | 15 class ChromeImpl : public Chrome { |
| 16 public: | 16 public: |
| 17 ChromeImpl(base::ProcessHandle process, ScopedTempDir* user_data_dir); | 17 ChromeImpl(base::ProcessHandle process, base::ScopedTempDir* user_data_dir); |
| 18 virtual ~ChromeImpl(); | 18 virtual ~ChromeImpl(); |
| 19 | 19 |
| 20 // Overridden from Chrome: | 20 // Overridden from Chrome: |
| 21 virtual Status Quit() OVERRIDE; | 21 virtual Status Quit() OVERRIDE; |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 base::ProcessHandle process_; | 24 base::ProcessHandle process_; |
| 25 ScopedTempDir user_data_dir_; | 25 base::ScopedTempDir user_data_dir_; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ | 28 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
| OLD | NEW |