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

Unified Diff: chrome/test/webdriver/commands/cookie_commands.h

Issue 23526047: Delete old chromedriver code, and remove mongoose webserver. (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
« no previous file with comments | « chrome/test/webdriver/commands/command.cc ('k') | chrome/test/webdriver/commands/cookie_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/cookie_commands.h
diff --git a/chrome/test/webdriver/commands/cookie_commands.h b/chrome/test/webdriver/commands/cookie_commands.h
deleted file mode 100644
index 5017da9337d62e04d7f01b7a0e4b6915f357d64a..0000000000000000000000000000000000000000
--- a/chrome/test/webdriver/commands/cookie_commands.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_TEST_WEBDRIVER_COMMANDS_COOKIE_COMMANDS_H_
-#define CHROME_TEST_WEBDRIVER_COMMANDS_COOKIE_COMMANDS_H_
-
-#include <string>
-#include <vector>
-
-#include "chrome/test/webdriver/commands/webdriver_command.h"
-#include "url/gurl.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace webdriver {
-
-class Response;
-
-// Retrieve all cookies visible to the current page. Each cookie will be
-// returned as a JSON object with the following properties:
-// name, value, path, domain, secure, and expiry. See:
-// http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/cookie
-class CookieCommand : public WebDriverCommand {
- public:
- CookieCommand(const std::vector<std::string>& path_segments,
- const base::DictionaryValue* const parameters);
- virtual ~CookieCommand();
-
- virtual bool DoesDelete() OVERRIDE;
- virtual bool DoesGet() OVERRIDE;
- virtual bool DoesPost() OVERRIDE;
-
- virtual void ExecuteDelete(Response* const response) OVERRIDE;
- virtual void ExecuteGet(Response* const response) OVERRIDE;
- virtual void ExecutePost(Response* const response) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(CookieCommand);
-};
-
-// Set a cookie. The cookie should be specified as a JSON object with the
-// following properties: name, value, path, domain, secure, and expiry. See:
-// http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/cookie/:name
-class NamedCookieCommand : public WebDriverCommand {
- public:
- NamedCookieCommand(const std::vector<std::string>& path_segments,
- const base::DictionaryValue* const parameters);
- virtual ~NamedCookieCommand();
-
- virtual bool Init(Response* const response) OVERRIDE;
-
- virtual bool DoesDelete() OVERRIDE;
-
- virtual void ExecuteDelete(Response* const response) OVERRIDE;
-
- private:
- std::string cookie_name_;
-
- DISALLOW_COPY_AND_ASSIGN(NamedCookieCommand);
-};
-
-} // namespace webdriver
-
-#endif // CHROME_TEST_WEBDRIVER_COMMANDS_COOKIE_COMMANDS_H_
« no previous file with comments | « chrome/test/webdriver/commands/command.cc ('k') | chrome/test/webdriver/commands/cookie_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698