OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_PROCESS_OBSERVER_H_ | |
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_PROCESS_OBSERVER_H_ | |
7 | |
8 #include "content/public/renderer/render_process_observer.h" | |
9 | |
10 #include "base/compiler_specific.h" | |
11 | |
12 namespace android_webview { | |
13 | |
14 // An RenderProcessObserver implementation used for handling android_webview | |
joth
2012/10/02 23:01:52
nit: An -> A
| |
15 // specific render-process wide IPC messages. | |
16 class AwRenderProcessObserver : public content::RenderProcessObserver { | |
17 public: | |
18 AwRenderProcessObserver(); | |
19 virtual ~AwRenderProcessObserver(); | |
20 | |
21 // content::RenderProcessObserver implementation. | |
22 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; | |
23 | |
24 private: | |
25 void OnClearCache(); | |
26 }; | |
27 | |
28 } // namespace android_webview | |
29 | |
30 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_PROCESS_OBSERVER_H_ | |
31 | |
OLD | NEW |