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

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

Issue 7104085: In chromedriver, add /log handler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 6 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
« no previous file with comments | « chrome/test/webdriver/session_manager.cc ('k') | chrome/test/webdriver/utility_functions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/utility_functions.h
diff --git a/chrome/test/webdriver/utility_functions.h b/chrome/test/webdriver/utility_functions.h
index c26f47069ac94c114974fbeb2fb563bd0425eacf..88ec28c54910e2b52f2881bc70304c83844af4ff 100644
--- a/chrome/test/webdriver/utility_functions.h
+++ b/chrome/test/webdriver/utility_functions.h
@@ -1,32 +1,17 @@
-// Copyright (c) 2010 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.
-
-#ifndef CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
-#define CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
-
-#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();
-
-} // namespace webdriver
-
-#endif // CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
+// 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.
+
+#ifndef CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
+#define CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
+
+#include <string>
+
+namespace webdriver {
+
+// Generates a random, 32-character hexidecimal ID.
+std::string GenerateRandomID();
+
+} // namespace webdriver
+
+#endif // CHROME_TEST_WEBDRIVER_UTILITY_FUNCTIONS_H_
« no previous file with comments | « chrome/test/webdriver/session_manager.cc ('k') | chrome/test/webdriver/utility_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698