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

Side by Side Diff: chrome/test/webdriver/commands/create_session.h

Issue 3064012: Base implementation of WebDriver for Chrome. This checkin includes... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CREATE_SESSION_H_
6 #define CHROME_TEST_WEBDRIVER_COMMANDS_CREATE_SESSION_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "chrome/test/webdriver/commands/command.h"
12 #include "chrome/test/webdriver/commands/webdriver_command.h"
13
14 namespace webdriver {
15
16 // Create a new session which is a new instance of the chrome browser with no
17 // page loaded. A new session ID is passed back to the user which is used for
18 // all future commands that are sent to control this new instance. The
19 // desired capabilities should be specified in a JSON object with the
20 // following properties:
21 // http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session
22 class CreateSession : public Command {
23 public:
24 inline CreateSession(const std::vector<std::string>& path_segments,
25 const DictionaryValue* const parameters)
26 : Command(path_segments, parameters) {}
27 virtual ~CreateSession() {}
28
29 virtual bool DoesPost() { return true; }
30 virtual void ExecutePost(Response* const response);
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(CreateSession);
34 };
35 } // namespace webdriver
36 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_CREATE_SESSION_H_
37
OLDNEW
« no previous file with comments | « chrome/test/webdriver/commands/command.cc ('k') | chrome/test/webdriver/commands/create_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698