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

Side by Side Diff: chrome/utility/safe_json_parser_handler.cc

Issue 1948303002: Re-land: Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « chrome/utility/safe_json_parser_handler.h ('k') | components/safe_json.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/utility/safe_json_parser_handler.h"
6
7 #include "components/safe_json/safe_json_parser_message_filter.h"
8
9 SafeJsonParserHandler::SafeJsonParserHandler()
10 : handler_(new safe_json::SafeJsonParserMessageFilter) {
11 }
12
13 SafeJsonParserHandler::~SafeJsonParserHandler() {
14 }
15
16 bool SafeJsonParserHandler::OnMessageReceived(const IPC::Message& message) {
17 return handler_->OnMessageReceived(message);
18 }
OLDNEW
« no previous file with comments | « chrome/utility/safe_json_parser_handler.h ('k') | components/safe_json.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698