OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <stddef.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
7 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
8 #include "components/web_cache/browser/web_cache_manager.h" | 10 #include "components/web_cache/browser/web_cache_manager.h" |
9 #include "content/public/test/test_browser_thread.h" | 11 #include "content/public/test/test_browser_thread.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
11 | 13 |
12 using base::Time; | 14 using base::Time; |
13 using base::TimeDelta; | 15 using base::TimeDelta; |
14 using content::BrowserThread; | 16 using content::BrowserThread; |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 manager()->ReviseAllocationStrategy(); | 459 manager()->ReviseAllocationStrategy(); |
458 | 460 |
459 manager()->Remove(kRendererID); | 461 manager()->Remove(kRendererID); |
460 manager()->ReviseAllocationStrategy(); | 462 manager()->ReviseAllocationStrategy(); |
461 | 463 |
462 manager()->ObserveActivity(kRendererID); | 464 manager()->ObserveActivity(kRendererID); |
463 manager()->ReviseAllocationStrategy(); | 465 manager()->ReviseAllocationStrategy(); |
464 } | 466 } |
465 | 467 |
466 } // namespace web_cache | 468 } // namespace web_cache |
OLD | NEW |