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

Unified Diff: components/safe_json/utility/safe_json_parser_mojo_impl.h

Issue 1951863002: Revert of 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 | « components/safe_json/utility/BUILD.gn ('k') | components/safe_json/utility/safe_json_parser_mojo_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/utility/safe_json_parser_mojo_impl.h
diff --git a/components/safe_json/utility/safe_json_parser_mojo_impl.h b/components/safe_json/utility/safe_json_parser_mojo_impl.h
deleted file mode 100644
index cb407b7d304b3ca11eeb7587b9ee9381aac13bf9..0000000000000000000000000000000000000000
--- a/components/safe_json/utility/safe_json_parser_mojo_impl.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2013 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 COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_MOJO_IMPL_H_
-#define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_MOJO_IMPL_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "components/safe_json/public/interfaces/safe_json.mojom.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-
-namespace safe_json {
-
-class SafeJsonParserMojoImpl : public mojom::SafeJsonParser {
- public:
- static void Create(mojo::InterfaceRequest<mojom::SafeJsonParser> request);
-
- private:
- explicit SafeJsonParserMojoImpl(
- mojo::InterfaceRequest<mojom::SafeJsonParser> request);
- ~SafeJsonParserMojoImpl() override;
-
- // mojom::SafeJsonParser implementation.
- void Parse(const mojo::String& json, const ParseCallback& callback) override;
-
- mojo::StrongBinding<mojom::SafeJsonParser> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(SafeJsonParserMojoImpl);
-};
-
-} // namespace safe_json
-
-#endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_MOJO_IMPL_H_
« no previous file with comments | « components/safe_json/utility/BUILD.gn ('k') | components/safe_json/utility/safe_json_parser_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698