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

Side by Side Diff: Source/platform/JSONValues.h

Issue 1184093002: Removing unused functions from JSONValues class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/platform/JSONValues.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 bool isNull() const { return m_type == TypeNull; } 100 bool isNull() const { return m_type == TypeNull; }
101 101
102 virtual bool asBoolean(bool* output) const; 102 virtual bool asBoolean(bool* output) const;
103 virtual bool asNumber(double* output) const; 103 virtual bool asNumber(double* output) const;
104 virtual bool asNumber(long* output) const; 104 virtual bool asNumber(long* output) const;
105 virtual bool asNumber(int* output) const; 105 virtual bool asNumber(int* output) const;
106 virtual bool asNumber(unsigned long* output) const; 106 virtual bool asNumber(unsigned long* output) const;
107 virtual bool asNumber(unsigned* output) const; 107 virtual bool asNumber(unsigned* output) const;
108 virtual bool asString(String* output) const; 108 virtual bool asString(String* output) const;
109 virtual bool asValue(RefPtr<JSONValue>* output);
110 virtual bool asObject(RefPtr<JSONObject>* output); 109 virtual bool asObject(RefPtr<JSONObject>* output);
111 virtual bool asArray(RefPtr<JSONArray>* output); 110 virtual bool asArray(RefPtr<JSONArray>* output);
112 virtual PassRefPtr<JSONObject> asObject(); 111 virtual PassRefPtr<JSONObject> asObject();
113 virtual PassRefPtr<JSONArray> asArray(); 112 virtual PassRefPtr<JSONArray> asArray();
114 113
115 String toJSONString() const; 114 String toJSONString() const;
116 String toPrettyJSONString() const; 115 String toPrettyJSONString() const;
117 virtual void writeJSON(StringBuilder* output) const; 116 virtual void writeJSON(StringBuilder* output) const;
118 virtual void prettyWriteJSON(StringBuilder* output) const; 117 virtual void prettyWriteJSON(StringBuilder* output) const;
119 118
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 341
343 using JSONArrayBase::get; 342 using JSONArrayBase::get;
344 343
345 using JSONArrayBase::begin; 344 using JSONArrayBase::begin;
346 using JSONArrayBase::end; 345 using JSONArrayBase::end;
347 }; 346 };
348 347
349 } // namespace blink 348 } // namespace blink
350 349
351 #endif // JSONValues_h 350 #endif // JSONValues_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/JSONValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698