| 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..c512ba50370303b0a3ae675d7b6d75476bed12cd 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,13 @@ std::string GenerateRandomID();
|
| // Returns the equivalent JSON string for the given value.
|
| std::string JsonStringify(const base::Value* value);
|
|
|
| +// Returns the JSON string for the given value, with the exception that
|
| +// long strings are shortened for easier display.
|
| +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);
|
| +
|
| #if defined(OS_MACOSX)
|
| // Gets the paths to the user and local application directory.
|
| void GetApplicationDirs(std::vector<FilePath>* app_dirs);
|
|
|