chrome.bluetoothSocket: clean-up Listen functions
[chromium-blink-merge.git] / content / renderer / render_process_impl.h
blob97c1244a2327f96981438fb8b4ff5a3716762ab4
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_RENDERER_RENDER_PROCESS_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_
8 #include "content/renderer/render_process.h"
10 namespace content {
12 // Implementation of the RenderProcess interface for the regular browser.
13 // See also MockRenderProcess which implements the active "RenderProcess" when
14 // running under certain unit tests.
15 class RenderProcessImpl : public RenderProcess {
16 public:
17 RenderProcessImpl();
18 virtual ~RenderProcessImpl();
20 // RenderProcess implementation.
21 virtual void AddBindings(int bindings) OVERRIDE;
22 virtual int GetEnabledBindings() const OVERRIDE;
24 private:
25 // Bitwise-ORed set of extra bindings that have been enabled anywhere in this
26 // process. See BindingsPolicy for details.
27 int enabled_bindings_;
29 DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl);
32 } // namespace content
34 #endif // CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_