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

Unified Diff: chrome/test/chromedriver/session_commands.h

Issue 23467010: [chromedriver] Logging tweaks and fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/session_commands.h
diff --git a/chrome/test/chromedriver/session_commands.h b/chrome/test/chromedriver/session_commands.h
index 618f124a0cdd258308f124e342577d3872c10632..1c5be1cf79c127843ce5fdfe60ce01ab50948f97 100644
--- a/chrome/test/chromedriver/session_commands.h
+++ b/chrome/test/chromedriver/session_commands.h
@@ -10,15 +10,35 @@
#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/test/chromedriver/command.h"
-#include "chrome/test/chromedriver/session_thread_map.h"
+#include "chrome/test/chromedriver/net/sync_websocket_factory.h"
namespace base {
class DictionaryValue;
class Value;
}
+class DeviceManager;
struct Session;
class Status;
+class URLRequestContextGetter;
+
+struct InitSessionParams {
+ InitSessionParams(scoped_refptr<URLRequestContextGetter> context_getter,
+ const SyncWebSocketFactory& socket_factory,
+ DeviceManager* device_manager);
+ ~InitSessionParams();
+
+ scoped_refptr<URLRequestContextGetter> context_getter;
+ SyncWebSocketFactory socket_factory;
+ DeviceManager* device_manager;
+};
+
+// Initializes a session.
+Status ExecuteInitSession(
+ const InitSessionParams& bound_params,
+ Session* session,
+ const base::DictionaryValue& params,
+ scoped_ptr<base::Value>* value);
// Quits a session.
Status ExecuteQuit(

Powered by Google App Engine
This is Rietveld 408576698