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); |