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

Side by Side Diff: chrome/test/webdriver/utility_functions.cc

Issue 6248026: Rename Real* to Double* in values.* and dependent files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/test/webdriver/utility_functions.h" 5 #include "chrome/test/webdriver/utility_functions.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 #include <wchar.h> 8 #include <wchar.h>
9 #include <algorithm> 9 #include <algorithm>
10 #include <sstream> 10 #include <sstream>
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 std::wstring print_valuetype(Value::ValueType e) { 30 std::wstring print_valuetype(Value::ValueType e) {
31 switch (e) { 31 switch (e) {
32 case Value::TYPE_NULL: 32 case Value::TYPE_NULL:
33 return L"NULL "; 33 return L"NULL ";
34 case Value::TYPE_BOOLEAN: 34 case Value::TYPE_BOOLEAN:
35 return L"BOOL"; 35 return L"BOOL";
36 case Value::TYPE_INTEGER: 36 case Value::TYPE_INTEGER:
37 return L"INT"; 37 return L"INT";
38 case Value::TYPE_REAL: 38 case Value::TYPE_DOUBLE:
39 return L"REAL"; 39 return L"DOUBLE";
40 case Value::TYPE_STRING: 40 case Value::TYPE_STRING:
41 return L"STRING"; 41 return L"STRING";
42 case Value::TYPE_BINARY: 42 case Value::TYPE_BINARY:
43 return L"BIN"; 43 return L"BIN";
44 case Value::TYPE_DICTIONARY: 44 case Value::TYPE_DICTIONARY:
45 return L"DICT"; 45 return L"DICT";
46 case Value::TYPE_LIST: 46 case Value::TYPE_LIST:
47 return L"LIST"; 47 return L"LIST";
48 default: 48 default:
49 return L"ERROR"; 49 return L"ERROR";
(...skipping 27 matching lines...) Expand all
77 delete params; 77 delete params;
78 return false; 78 return false;
79 } 79 }
80 80
81 *dict = static_cast<DictionaryValue*>(params); 81 *dict = static_cast<DictionaryValue*>(params);
82 return true; 82 return true;
83 } 83 }
84 84
85 } // namespace webdriver 85 } // namespace webdriver
86 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698