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

Side by Side Diff: base/json/json_value_converter.h

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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 | « base/json/json_string_value_serializer.h ('k') | base/json/json_value_serializer_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef BASE_JSON_JSON_VALUE_CONVERTER_H_ 5 #ifndef BASE_JSON_JSON_VALUE_CONVERTER_H_
6 #define BASE_JSON_JSON_VALUE_CONVERTER_H_ 6 #define BASE_JSON_JSON_VALUE_CONVERTER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/base_export.h" 13 #include "base/base_export.h"
12 #include "base/basictypes.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
16 #include "base/stl_util.h" 18 #include "base/stl_util.h"
17 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
18 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
19 #include "base/values.h" 21 #include "base/values.h"
20 22
21 // JSONValueConverter converts a JSON value into a C++ struct in a 23 // JSONValueConverter converts a JSON value into a C++ struct in a
22 // lightweight way. 24 // lightweight way.
23 // 25 //
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 507
506 private: 508 private:
507 ScopedVector<internal::FieldConverterBase<StructType> > fields_; 509 ScopedVector<internal::FieldConverterBase<StructType> > fields_;
508 510
509 DISALLOW_COPY_AND_ASSIGN(JSONValueConverter); 511 DISALLOW_COPY_AND_ASSIGN(JSONValueConverter);
510 }; 512 };
511 513
512 } // namespace base 514 } // namespace base
513 515
514 #endif // BASE_JSON_JSON_VALUE_CONVERTER_H_ 516 #endif // BASE_JSON_JSON_VALUE_CONVERTER_H_
OLDNEW
« no previous file with comments | « base/json/json_string_value_serializer.h ('k') | base/json/json_value_serializer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698