| 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 CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ |
| 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ | 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" |
| 13 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
| 14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 16 #include "base/scoped_observer.h" | 19 #include "base/scoped_observer.h" |
| 17 #include "base/task/cancelable_task_tracker.h" | 20 #include "base/task/cancelable_task_tracker.h" |
| 18 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 19 #include "chrome/browser/predictors/resource_prefetch_common.h" | 22 #include "chrome/browser/predictors/resource_prefetch_common.h" |
| 20 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" | 23 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" |
| 21 #include "chrome/browser/predictors/resource_prefetcher.h" | 24 #include "chrome/browser/predictors/resource_prefetcher.h" |
| 22 #include "components/history/core/browser/history_service_observer.h" | 25 #include "components/history/core/browser/history_service_observer.h" |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 | 326 |
| 324 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 327 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
| 325 history_service_observer_; | 328 history_service_observer_; |
| 326 | 329 |
| 327 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictor); | 330 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictor); |
| 328 }; | 331 }; |
| 329 | 332 |
| 330 } // namespace predictors | 333 } // namespace predictors |
| 331 | 334 |
| 332 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ | 335 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ |
| OLD | NEW |