| Index: net/ssl/ssl_client_session_cache.cc
|
| diff --git a/net/ssl/ssl_client_session_cache.cc b/net/ssl/ssl_client_session_cache.cc
|
| index 4cb6c9ae02527995ec209818b9a192aad24c40c3..b007469b9a9eba3c0c59e9651c622f854ae2ce8c 100644
|
| --- a/net/ssl/ssl_client_session_cache.cc
|
| +++ b/net/ssl/ssl_client_session_cache.cc
|
| @@ -177,22 +177,8 @@ void SSLClientSessionCache::OnMemoryPressure(
|
| }
|
| }
|
|
|
| -void SSLClientSessionCache::OnMemoryStateChange(base::MemoryState state) {
|
| - // TODO(hajimehoshi): When the state changes, adjust the sizes of the caches
|
| - // to reduce the limits. SSLClientSessionCache doesn't have the ability to
|
| - // limit at present.
|
| - switch (state) {
|
| - case base::MemoryState::NORMAL:
|
| - break;
|
| - case base::MemoryState::THROTTLED:
|
| - Flush();
|
| - break;
|
| - case base::MemoryState::SUSPENDED:
|
| - // Note: Not supported at present. Fall through.
|
| - case base::MemoryState::UNKNOWN:
|
| - NOTREACHED();
|
| - break;
|
| - }
|
| +void SSLClientSessionCache::OnPurgeMemory() {
|
| + Flush();
|
| }
|
|
|
| } // namespace net
|
|
|