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

Unified Diff: chrome/utility/safe_json_parser_handler.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/safe_json_parser_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_json_parser_handler.h
diff --git a/chrome/utility/safe_json_parser_handler.h b/chrome/utility/safe_json_parser_handler.h
deleted file mode 100644
index efbc144b8789a35cfffa8ff6026209af7d2a75f7..0000000000000000000000000000000000000000
--- a/chrome/utility/safe_json_parser_handler.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_UTILITY_SAFE_JSON_PARSER_HANDLER_H_
-#define CHROME_UTILITY_SAFE_JSON_PARSER_HANDLER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "chrome/utility/utility_message_handler.h"
-
-namespace safe_json {
-class SafeJsonParserMessageFilter;
-} // namespace safe_json
-
-// Dispatches IPCs for out of process JSON parsing. This is an adapter class
-// that delegates to safe_json::SafeJsonParserMessageFilter, since the
-// SafeJsonParserMessageFilter in //components/safe_json can't directly
-// depend on //chrome/utility.
-class SafeJsonParserHandler : public UtilityMessageHandler {
- public:
- SafeJsonParserHandler();
- ~SafeJsonParserHandler() override;
-
- // UtilityMessageHandler
- bool OnMessageReceived(const IPC::Message& message) override;
-
- private:
- std::unique_ptr<safe_json::SafeJsonParserMessageFilter> handler_;
-
- DISALLOW_COPY_AND_ASSIGN(SafeJsonParserHandler);
-};
-
-#endif // CHROME_UTILITY_SAFE_JSON_PARSER_HANDLER_H_
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/safe_json_parser_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698