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_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ | 5 #ifndef CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ | 6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "content/public/renderer/render_process_observer.h" | 10 #include "content/public/renderer/render_process_observer.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class ShellRenderProcessObserver : public RenderProcessObserver { | 14 class ShellRenderProcessObserver : public RenderProcessObserver { |
16 public: | 15 public: |
17 ShellRenderProcessObserver(); | 16 ShellRenderProcessObserver(); |
18 virtual ~ShellRenderProcessObserver(); | 17 virtual ~ShellRenderProcessObserver(); |
19 | 18 |
20 // RenderProcessObserver implementation. | 19 // RenderProcessObserver implementation. |
21 virtual void WebKitInitialized() OVERRIDE; | 20 virtual void WebKitInitialized() OVERRIDE; |
22 | 21 |
23 private: | 22 private: |
24 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver); | 23 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver); |
25 }; | 24 }; |
26 | 25 |
27 } // namespace content | 26 } // namespace content |
28 | 27 |
29 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ | 28 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
OLD | NEW |