Index: chrome/test/chromedriver/command_executor_impl.h |
diff --git a/chrome/test/chromedriver/command_executor_impl.h b/chrome/test/chromedriver/command_executor_impl.h |
index 125b1e3159865cfcac81dfc08f4af47228fd8a9c..092809f20723b55340309d4e53c2b17738463662 100644 |
--- a/chrome/test/chromedriver/command_executor_impl.h |
+++ b/chrome/test/chromedriver/command_executor_impl.h |
@@ -12,7 +12,7 @@ |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
-#include "chrome/test/chromedriver/chrome_launcher_impl.h" |
+#include "base/threading/thread.h" |
#include "chrome/test/chromedriver/command.h" |
#include "chrome/test/chromedriver/command_executor.h" |
#include "chrome/test/chromedriver/session_map.h" |
@@ -24,12 +24,16 @@ class DictionaryValue; |
class Value; |
} |
+class ChromeLauncherImpl; |
+class URLRequestContextGetter; |
+ |
class CommandExecutorImpl : public CommandExecutor { |
public: |
CommandExecutorImpl(); |
virtual ~CommandExecutorImpl(); |
// Overridden from CommandExecutor: |
+ virtual void Init() OVERRIDE; |
virtual void ExecuteCommand(const std::string& name, |
const base::DictionaryValue& params, |
const std::string& session_id, |
@@ -43,8 +47,10 @@ class CommandExecutorImpl : public CommandExecutor { |
CommandExecutorImplTest, CommandThatDoesntSetValueOrSessionId); |
FRIEND_TEST_ALL_PREFIXES(CommandExecutorImplTest, CommandThatReturnsError); |
+ base::Thread io_thread_; |
+ scoped_refptr<URLRequestContextGetter> context_getter_; |
SessionMap session_map_; |
- ChromeLauncherImpl launcher_; |
+ scoped_ptr<ChromeLauncherImpl> launcher_; |
SynchronizedMap<std::string, Command> command_map_; |
DISALLOW_COPY_AND_ASSIGN(CommandExecutorImpl); |