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_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL_CH
ECKER_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL_CH
ECKER_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL_CH
ECKER_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL_CH
ECKER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
9 #include "base/containers/mru_cache.h" | 11 #include "base/containers/mru_cache.h" |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 15 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 16 #include "net/url_request/url_fetcher_delegate.h" |
15 #include "url/gurl.h" | 17 #include "url/gurl.h" |
16 | 18 |
17 namespace net { | 19 namespace net { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 61 |
60 ScopedVector<Check> checks_in_progress_; | 62 ScopedVector<Check> checks_in_progress_; |
61 | 63 |
62 base::MRUCache<GURL, CheckResult> cache_; | 64 base::MRUCache<GURL, CheckResult> cache_; |
63 base::TimeDelta cache_timeout_; | 65 base::TimeDelta cache_timeout_; |
64 | 66 |
65 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAsyncURLChecker); | 67 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAsyncURLChecker); |
66 }; | 68 }; |
67 | 69 |
68 #endif // CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL
_CHECKER_H_ | 70 #endif // CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SUPERVISED_USER_ASYNC_URL
_CHECKER_H_ |
OLD | NEW |