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.
5 #include "chrome/utility/safe_json_parser_handler.h"
7 #include "components/safe_json/safe_json_parser_message_filter.h"
9 SafeJsonParserHandler::SafeJsonParserHandler()
10 : handler_(new safe_json::SafeJsonParserMessageFilter
) {
13 SafeJsonParserHandler::~SafeJsonParserHandler() {
16 bool SafeJsonParserHandler::OnMessageReceived(const IPC::Message
& message
) {
17 return handler_
->OnMessageReceived(message
);