| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOCAL_PREDICTOR_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_LOCAL_PREDICTOR_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_LOCAL_PREDICTOR_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_LOCAL_PREDICTOR_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/timer.h" | 12 #include "base/timer.h" |
| 13 #include "chrome/browser/common/cancelable_request.h" | 13 #include "chrome/browser/common/cancelable_request.h" |
| 14 #include "chrome/browser/history/visit_database.h" | 14 #include "chrome/browser/history/visit_database.h" |
| 15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 | 16 |
| 17 class HistoryService; | 17 class HistoryService; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class SessionStorageNamespace; | 20 class SessionStorageNamespace; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // that could have possibily been swapped in were not swapped in. For | 168 // that could have possibily been swapped in were not swapped in. For |
| 169 // measurement purposes only. | 169 // measurement purposes only. |
| 170 bool current_prerender_would_have_matched_; | 170 bool current_prerender_would_have_matched_; |
| 171 | 171 |
| 172 DISALLOW_COPY_AND_ASSIGN(PrerenderLocalPredictor); | 172 DISALLOW_COPY_AND_ASSIGN(PrerenderLocalPredictor); |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace prerender | 175 } // namespace prerender |
| 176 | 176 |
| 177 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_LOCAL_PREDICTOR_H_ | 177 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_LOCAL_PREDICTOR_H_ |
| OLD | NEW |