| 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 NET_SDCH_SDCH_OWNER_H_ | 5 #ifndef NET_SDCH_SDCH_OWNER_H_ |
| 6 #define NET_SDCH_SDCH_OWNER_H_ | 6 #define NET_SDCH_SDCH_OWNER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/memory_pressure_listener.h" | 10 #include "base/memory/memory_pressure_listener.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 scoped_ptr<base::Clock> clock_; | 85 scoped_ptr<base::Clock> clock_; |
| 86 | 86 |
| 87 size_t max_total_dictionary_size_; | 87 size_t max_total_dictionary_size_; |
| 88 size_t min_space_for_dictionary_fetch_; | 88 size_t min_space_for_dictionary_fetch_; |
| 89 | 89 |
| 90 #if defined(OS_CHROMEOS) | 90 #if defined(OS_CHROMEOS) |
| 91 // For debugging http://crbug.com/454198; remove when resolved. | 91 // For debugging http://crbug.com/454198; remove when resolved. |
| 92 unsigned int destroyed_; | 92 unsigned int destroyed_; |
| 93 #endif | 93 #endif |
| 94 | 94 |
| 95 base::MemoryPressureListener memory_pressure_listener_; | 95 // TODO(rmcilroy) Add back memory_pressure_listener_ when |
| 96 // http://crbug.com/447208 is fixed |
| 96 | 97 |
| 97 DISALLOW_COPY_AND_ASSIGN(SdchOwner); | 98 DISALLOW_COPY_AND_ASSIGN(SdchOwner); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace net | 101 } // namespace net |
| 101 | 102 |
| 102 #endif // NET_SDCH_SDCH_OWNER_H_ | 103 #endif // NET_SDCH_SDCH_OWNER_H_ |
| OLD | NEW |