OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ |
6 #define CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ | 6 #define CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/timer.h" | 9 #include "base/timer.h" |
10 #include "chrome/renderer/render_process.h" | 10 #include "chrome/renderer/render_process.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // then it points to a SharedMemory object that is available for reuse. | 62 // then it points to a SharedMemory object that is available for reuse. |
63 TransportDIB* shared_mem_cache_[2]; | 63 TransportDIB* shared_mem_cache_[2]; |
64 | 64 |
65 // This DelayTimer cleans up our cache 5 seconds after the last use. | 65 // This DelayTimer cleans up our cache 5 seconds after the last use. |
66 base::DelayTimer<RenderProcessImpl> shared_mem_cache_cleaner_; | 66 base::DelayTimer<RenderProcessImpl> shared_mem_cache_cleaner_; |
67 | 67 |
68 // TransportDIB sequence number | 68 // TransportDIB sequence number |
69 uint32 transport_dib_next_sequence_number_; | 69 uint32 transport_dib_next_sequence_number_; |
70 | 70 |
71 bool in_process_plugins_; | 71 bool in_process_plugins_; |
72 bool initialized_media_library_; | |
73 | 72 |
74 DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl); | 73 DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl); |
75 }; | 74 }; |
76 | 75 |
77 #endif // CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ | 76 #endif // CHROME_RENDERER_RENDER_PROCESS_IMPL_H_ |
OLD | NEW |