diff options
Diffstat (limited to 'chrome/test/webdriver/utility_functions.h')
-rw-r--r-- | chrome/test/webdriver/utility_functions.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/chrome/test/webdriver/utility_functions.h b/chrome/test/webdriver/utility_functions.h index c26f470..5e4005a 100644 --- a/chrome/test/webdriver/utility_functions.h +++ b/chrome/test/webdriver/utility_functions.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -7,23 +7,8 @@ #include <string> -#include "base/values.h" - namespace webdriver { -// Converts a value type to a string for logging. -std::string print_valuetype(Value::ValueType e); - -// Checks that a value has the expected type. -void CheckValueType(const Value::ValueType expected, const Value* const actual); - -// Attempts to parse a |json| string into a valid dictionary. If the parse -// operation fails, the offending |error| will be reported to the user and the -// function will return false. The caller is responsible for the allocated -// memory in |dict|. -bool ParseJSONDictionary(const std::string& json, DictionaryValue** dict, - std::string* error); - // Generates a random, 32-character hexidecimal ID. std::string GenerateRandomID(); |