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

Unified Diff: chrome/test/webdriver/webdriver_util.h

Issue 8806030: Add commands to Chrome WebDriver for installing and manipulating extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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/webdriver_session.cc ('k') | chrome/test/webdriver/webdriver_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_util.h
diff --git a/chrome/test/webdriver/webdriver_util.h b/chrome/test/webdriver/webdriver_util.h
index c512ba50370303b0a3ae675d7b6d75476bed12cd..ec508dfbba29ee3bc899245e8a727f725a883537 100644
--- a/chrome/test/webdriver/webdriver_util.h
+++ b/chrome/test/webdriver/webdriver_util.h
@@ -14,7 +14,9 @@
#include "base/values.h"
#include "chrome/test/automation/value_conversion_traits.h"
+class AutomationId;
class FilePath;
+class WebViewId;
namespace webdriver {
@@ -31,6 +33,15 @@ std::string JsonStringifyForDisplay(const base::Value* value);
// Returns the string representation of the given type, for display purposes.
const char* GetJsonTypeName(base::Value::Type type);
+// Converts the string to an automation ID and returns true on success.
+bool StringToAutomationId(const std::string& string_id, AutomationId* id);
+
+// Converts the web view ID to a string.
+std::string WebViewIdToString(const WebViewId& view_id);
+
+// Converts the string to a web view ID and returns true on success.
+bool StringToWebViewId(const std::string& string_id, WebViewId* view_id);
+
#if defined(OS_MACOSX)
// Gets the paths to the user and local application directory.
void GetApplicationDirs(std::vector<FilePath>* app_dirs);
« no previous file with comments | « chrome/test/webdriver/webdriver_session.cc ('k') | chrome/test/webdriver/webdriver_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698