OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ | 5 #ifndef COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ |
6 #define COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ | 6 #define COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "content/public/renderer/render_process_observer.h" | 12 #include "content/public/renderer/render_process_observer.h" |
11 | 13 |
12 namespace web_cache { | 14 namespace web_cache { |
13 | 15 |
14 // This class filters the incoming cache related control messages. | 16 // This class filters the incoming cache related control messages. |
15 class WebCacheRenderProcessObserver : public content::RenderProcessObserver { | 17 class WebCacheRenderProcessObserver : public content::RenderProcessObserver { |
16 public: | 18 public: |
17 WebCacheRenderProcessObserver(); | 19 WebCacheRenderProcessObserver(); |
(...skipping 24 matching lines...) Expand all Loading... |
42 size_t pending_cache_max_dead_capacity_; | 44 size_t pending_cache_max_dead_capacity_; |
43 size_t pending_cache_capacity_; | 45 size_t pending_cache_capacity_; |
44 | 46 |
45 DISALLOW_COPY_AND_ASSIGN(WebCacheRenderProcessObserver); | 47 DISALLOW_COPY_AND_ASSIGN(WebCacheRenderProcessObserver); |
46 }; | 48 }; |
47 | 49 |
48 } // namespace web_cache | 50 } // namespace web_cache |
49 | 51 |
50 #endif // COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ | 52 #endif // COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_RENDER_PROCESS_OBSERVER_H_ |
51 | 53 |
OLD | NEW |