[DevTools] Remove forwarded connections counting
[chromium-blink-merge.git] / content / shell / renderer / shell_content_renderer_client.h
blob629af5916878f067f8c3e1651cdf8c23d15f6224
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/content_renderer_client.h"
12 namespace web_cache {
13 class WebCacheRenderProcessObserver;
16 namespace content {
18 class WebTestProxyBase;
20 class ShellContentRendererClient : public ContentRendererClient {
21 public:
22 ShellContentRendererClient();
23 ~ShellContentRendererClient() override;
25 // ContentRendererClient implementation.
26 void RenderThreadStarted() override;
27 void RenderViewCreated(RenderView* render_view) override;
29 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we
30 // need that outside of layout tests?
31 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
32 bool IsPluginAllowedToUseDevChannelAPIs() override;
34 private:
35 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
38 } // namespace content
40 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_