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

Side by Side Diff: base/json/json_reader.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: 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
« no previous file with comments | « base/hmac_mac.cc ('k') | base/json/json_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/json/json_reader.h" 5 #include <stddef.h>
6 #include <string>
6 7
7 #include "base/float_util.h" 8 #include "base/float_util.h"
9 #include "base/json/json_reader.h"
8 #include "base/logging.h" 10 #include "base/logging.h"
9 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
10 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "base/string_piece.h"
11 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/stringprintf.h"
12 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 17 #include "base/values.h"
14 18
15 namespace base { 19 namespace base {
16 20
17 static const JSONReader::Token kInvalidToken(JSONReader::Token::INVALID_TOKEN, 21 static const JSONReader::Token kInvalidToken(JSONReader::Token::INVALID_TOKEN,
18 0, 0); 22 0, 0);
19 static const int kStackLimit = 100; 23 static const int kStackLimit = 100;
20 24
21 namespace { 25 namespace {
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 ++column_number; 668 ++column_number;
665 } 669 }
666 } 670 }
667 671
668 error_line_ = line_number; 672 error_line_ = line_number;
669 error_col_ = column_number; 673 error_col_ = column_number;
670 error_code_ = error; 674 error_code_ = error;
671 } 675 }
672 676
673 } // namespace base 677 } // namespace base
OLDNEW
« no previous file with comments | « base/hmac_mac.cc ('k') | base/json/json_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698