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

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

Issue 13185004: [chromedriver] Implement proxy capability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and Address comments. Created 7 years, 8 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/chrome_tests.gypi ('k') | chrome/test/chromedriver/capabilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/capabilities.h
diff --git a/chrome/test/chromedriver/capabilities.h b/chrome/test/chromedriver/capabilities.h
new file mode 100644
index 0000000000000000000000000000000000000000..50700354c769357b8c71b0ee75a2ed5766df1ae9
--- /dev/null
+++ b/chrome/test/chromedriver/capabilities.h
@@ -0,0 +1,39 @@
+// Copyright (c) 2013 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_CHROMEDRIVER_CAPABILITIES_H_
+#define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
+
+#include <string>
+#include <vector>
+
+#include "base/command_line.h"
+#include "base/files/file_path.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace base {
+class DictionaryValue;
+}
+
+class Status;
+
+struct Capabilities {
+ Capabilities();
+ ~Capabilities();
+
+ // Return true if android package is specified.
+ bool IsAndroid() const;
+
+ Status Parse(const base::DictionaryValue& desired_caps);
+
+ std::string android_package;
+
+ std::string log_path;
+ CommandLine command;
+ scoped_ptr<base::DictionaryValue> prefs;
+ scoped_ptr<base::DictionaryValue> local_state;
+ std::vector<std::string> extensions;
+};
+
+#endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/chromedriver/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698