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

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

Issue 8341044: Enhance and refactor ChromeDriver's capability handling. Log warning for (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 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/webdriver/webdriver_util.h
diff --git a/chrome/test/webdriver/webdriver_util.h b/chrome/test/webdriver/webdriver_util.h
index e36bdb733da438e92afdf4bb7e48472670397895..e947d82f039a3046ffd1da340a8c650381ab83c1 100644
--- a/chrome/test/webdriver/webdriver_util.h
+++ b/chrome/test/webdriver/webdriver_util.h
@@ -11,14 +11,11 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/values.h"
#include "chrome/test/automation/value_conversion_traits.h"
class FilePath;
-namespace base {
-class Value;
-}
-
namespace webdriver {
// Generates a random, 32-character hexidecimal ID.
@@ -27,6 +24,9 @@ std::string GenerateRandomID();
// Returns the equivalent JSON string for the given value.
std::string JsonStringify(const base::Value* value);
+// Returns the string representation of the given type, for display purposes.
+const char* GetJsonTypeName(base::Value::Type type);
+
#if defined(OS_MACOSX)
// Gets the paths to the user and local application directory.
void GetApplicationDirs(std::vector<FilePath>* app_dirs);

Powered by Google App Engine
This is Rietveld 408576698