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

Side by Side Diff: components/safe_json/safe_json_parser.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_ 5 #ifndef COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
6 #define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_ 6 #define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 12
14 namespace base { 13 namespace base {
15 class Value; 14 class Value;
16 } 15 }
17 16
18 namespace safe_json { 17 namespace safe_json {
19 18
20 // SafeJsonParser parses a given JSON safely via a platform-dependent mechanism 19 // SafeJsonParser parses a given JSON safely via a platform-dependent mechanism
(...skipping 21 matching lines...) Expand all
42 protected: 41 protected:
43 virtual ~SafeJsonParser() {} 42 virtual ~SafeJsonParser() {}
44 43
45 private: 44 private:
46 virtual void Start() = 0; 45 virtual void Start() = 0;
47 }; 46 };
48 47
49 } // namespace safe_json 48 } // namespace safe_json
50 49
51 #endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_ 50 #endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
OLDNEW
« no previous file with comments | « components/safe_json/json_sanitizer_unittest.cc ('k') | components/safe_json/safe_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698