| OLD | NEW |
| 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_RENDERER_RENDER_PROCESS_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_H_ |
| 6 #define CONTENT_RENDERER_RENDER_PROCESS_H_ | 6 #define CONTENT_RENDERER_RENDER_PROCESS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "content/child/child_process.h" | 9 #include "content/child/child_process.h" |
| 9 | 10 |
| 10 namespace content { | 11 namespace content { |
| 11 | 12 |
| 12 // A abstract interface representing the renderer end of the browser<->renderer | 13 // A abstract interface representing the renderer end of the browser<->renderer |
| 13 // connection. The opposite end is the RenderProcessHost. This is a singleton | 14 // connection. The opposite end is the RenderProcessHost. This is a singleton |
| 14 // object for each renderer. | 15 // object for each renderer. |
| 15 // | 16 // |
| 16 // RenderProcessImpl implements this interface for the regular browser. | 17 // RenderProcessImpl implements this interface for the regular browser. |
| 17 // MockRenderProcess implements this interface for certain tests, especially | 18 // MockRenderProcess implements this interface for certain tests, especially |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 return static_cast<RenderProcess*>(ChildProcess::current()); | 36 return static_cast<RenderProcess*>(ChildProcess::current()); |
| 36 } | 37 } |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 DISALLOW_COPY_AND_ASSIGN(RenderProcess); | 40 DISALLOW_COPY_AND_ASSIGN(RenderProcess); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace content | 43 } // namespace content |
| 43 | 44 |
| 44 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ | 45 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ |
| OLD | NEW |