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

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

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 #include "components/safe_json/safe_json_parser.h" 5 #include "components/safe_json/safe_json_parser.h"
6 6
7 #include "build/build_config.h"
8
7 #if defined(OS_ANDROID) 9 #if defined(OS_ANDROID)
8 #include "components/safe_json/safe_json_parser_android.h" 10 #include "components/safe_json/safe_json_parser_android.h"
9 #else 11 #else
10 #include "components/safe_json/safe_json_parser_impl.h" 12 #include "components/safe_json/safe_json_parser_impl.h"
11 #endif 13 #endif
12 14
13 namespace safe_json { 15 namespace safe_json {
14 16
15 namespace { 17 namespace {
16 18
(...skipping 23 matching lines...) Expand all
40 // static 42 // static
41 void SafeJsonParser::Parse(const std::string& unsafe_json, 43 void SafeJsonParser::Parse(const std::string& unsafe_json,
42 const SuccessCallback& success_callback, 44 const SuccessCallback& success_callback,
43 const ErrorCallback& error_callback) { 45 const ErrorCallback& error_callback) {
44 SafeJsonParser* parser = 46 SafeJsonParser* parser =
45 Create(unsafe_json, success_callback, error_callback); 47 Create(unsafe_json, success_callback, error_callback);
46 parser->Start(); 48 parser->Start();
47 } 49 }
48 50
49 } // namespace safe_json 51 } // namespace safe_json
OLDNEW
« no previous file with comments | « components/safe_json/safe_json_parser.h ('k') | components/safe_json/safe_json_parser_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698