| 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 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <list> | 10 #include <list> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 11 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 12 #include "chrome/browser/prerender/prerender_final_status.h" | 15 #include "chrome/browser/prerender/prerender_final_status.h" |
| 13 #include "chrome/browser/prerender/prerender_origin.h" | 16 #include "chrome/browser/prerender/prerender_origin.h" |
| 14 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 15 | 18 |
| 16 namespace base { | 19 namespace base { |
| 17 class Value; | 20 class Value; |
| 18 } | 21 } |
| 19 | 22 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 72 |
| 70 private: | 73 private: |
| 71 std::list<Entry> entries_; | 74 std::list<Entry> entries_; |
| 72 size_t max_items_; | 75 size_t max_items_; |
| 73 | 76 |
| 74 DISALLOW_COPY_AND_ASSIGN(PrerenderHistory); | 77 DISALLOW_COPY_AND_ASSIGN(PrerenderHistory); |
| 75 }; | 78 }; |
| 76 | 79 |
| 77 } | 80 } |
| 78 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ | 81 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_HISTORY_H_ |
| OLD | NEW |