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

Unified Diff: content/shell/renderer/shell_content_renderer_client.cc

Issue 2049303002: Add the UtilityProcessMojoClient class and convert SafeJsonParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed android sandbox browser tests Created 4 years, 6 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 | « content/public/test/test_mojo_service.mojom ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/shell_content_renderer_client.cc
diff --git a/content/shell/renderer/shell_content_renderer_client.cc b/content/shell/renderer/shell_content_renderer_client.cc
index 98195872bec61e48068a23aabfcaf8b5dd5e0c01..901ad09b9dc4dc335042b72d847dab52cc826a7f 100644
--- a/content/shell/renderer/shell_content_renderer_client.cc
+++ b/content/shell/renderer/shell_content_renderer_client.cc
@@ -4,8 +4,11 @@
#include "content/shell/renderer/shell_content_renderer_client.h"
+#include <string>
+
#include "base/bind.h"
#include "base/command_line.h"
+#include "base/logging.h"
#include "base/macros.h"
#include "components/web_cache/renderer/web_cache_impl.h"
#include "content/public/common/service_registry.h"
@@ -29,7 +32,7 @@ namespace {
// A test Mojo service which can be driven by browser tests for various reasons.
class TestMojoServiceImpl : public mojom::TestMojoService {
public:
- TestMojoServiceImpl(mojom::TestMojoServiceRequest request)
+ explicit TestMojoServiceImpl(mojom::TestMojoServiceRequest request)
: binding_(this, std::move(request)) {
binding_.set_connection_error_handler(
base::Bind(&TestMojoServiceImpl::OnConnectionError,
@@ -56,6 +59,14 @@ class TestMojoServiceImpl : public mojom::TestMojoService {
OnConnectionError();
}
+ void DoTerminateProcess(const DoTerminateProcessCallback& callback) override {
+ NOTREACHED();
+ }
+
+ void CreateFolder(const CreateFolderCallback& callback) override {
+ NOTREACHED();
+ }
+
void GetRequestorName(const GetRequestorNameCallback& callback) override {
callback.Run("Not implemented.");
}
« no previous file with comments | « content/public/test/test_mojo_service.mojom ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698