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

Unified Diff: base/json/json_reader.h

Issue 7756022: base/json: Get rid of static initializer in JSONReader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | base/json/json_reader.cc » ('j') | base/json/json_reader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_reader.h
diff --git a/base/json/json_reader.h b/base/json/json_reader.h
index 39927dee9a1eb9c02bc08802780af06b75d53025..3a9390695d4146cbaf0ae934513a73a7987f840a 100644
--- a/base/json/json_reader.h
+++ b/base/json/json_reader.h
@@ -193,6 +193,8 @@ class BASE_EXPORT JSONReader {
// line and column are determined and added into the final message.
void SetErrorCode(const JsonParseError error, const wchar_t* error_pos);
+ const Token* kInvalidToken;
+
// Pointer to the starting position in the input string.
const wchar_t* start_pos_;
« no previous file with comments | « no previous file | base/json/json_reader.cc » ('j') | base/json/json_reader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698