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_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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "chrome/browser/common/cancelable_request.h" | 17 #include "chrome/browser/common/cancelable_request.h" |
18 #include "chrome/browser/history/history_types.h" | 18 #include "chrome/browser/history/history_types.h" |
19 #include "chrome/browser/predictors/resource_prefetch_common.h" | 19 #include "chrome/browser/predictors/resource_prefetch_common.h" |
20 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" | 20 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" |
21 #include "chrome/browser/predictors/resource_prefetcher.h" | 21 #include "chrome/browser/predictors/resource_prefetcher.h" |
22 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 22 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
23 #include "content/public/browser/notification_observer.h" | 23 #include "content/public/browser/notification_observer.h" |
24 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
26 #include "webkit/glue/resource_type.h" | 26 #include "webkit/common/resource_type.h" |
27 | 27 |
28 class PredictorsHandler; | 28 class PredictorsHandler; |
29 class Profile; | 29 class Profile; |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 class WebContents; | 32 class WebContents; |
33 } | 33 } |
34 | 34 |
35 namespace net { | 35 namespace net { |
36 class URLRequest; | 36 class URLRequest; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 ResultsMap results_map_; | 304 ResultsMap results_map_; |
305 STLValueDeleter<ResultsMap> results_map_deleter_; | 305 STLValueDeleter<ResultsMap> results_map_deleter_; |
306 | 306 |
307 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictor); | 307 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictor); |
308 }; | 308 }; |
309 | 309 |
310 } // namespace predictors | 310 } // namespace predictors |
311 | 311 |
312 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ | 312 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_H_ |
OLD | NEW |