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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 2054303002: Kill child processes on bad Mojo messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad-message
Patch Set: . 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 void RenderViewCreated(RenderView* render_view) override; 26 void RenderViewCreated(RenderView* render_view) override;
27 27
28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we 28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we
29 // need that outside of layout tests? 29 // need that outside of layout tests?
30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
31 bool IsPluginAllowedToUseDevChannelAPIs() override; 31 bool IsPluginAllowedToUseDevChannelAPIs() override;
32 32
33 void DidInitializeWorkerContextOnWorkerThread( 33 void DidInitializeWorkerContextOnWorkerThread(
34 v8::Local<v8::Context> context) override; 34 v8::Local<v8::Context> context) override;
35 35
36 void RegisterProcessMojoServices(ServiceRegistry* service_registry) override;
37
36 private: 38 private:
37 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; 39 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_;
38 }; 40 };
39 41
40 } // namespace content 42 } // namespace content
41 43
42 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 44 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698