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_SUPERVISED_USER_INTERSTITIAL_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" | 13 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" |
13 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 14 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
14 #include "content/public/browser/interstitial_page_delegate.h" | 15 #include "content/public/browser/interstitial_page_delegate.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 class InterstitialPage; | 19 class InterstitialPage; |
19 class WebContents; | 20 class WebContents; |
20 } | 21 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 SupervisedUserURLFilter::FilteringBehaviorReason reason_; | 79 SupervisedUserURLFilter::FilteringBehaviorReason reason_; |
79 | 80 |
80 base::Callback<void(bool)> callback_; | 81 base::Callback<void(bool)> callback_; |
81 | 82 |
82 base::WeakPtrFactory<SupervisedUserInterstitial> weak_ptr_factory_; | 83 base::WeakPtrFactory<SupervisedUserInterstitial> weak_ptr_factory_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInterstitial); | 85 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInterstitial); |
85 }; | 86 }; |
86 | 87 |
87 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ | 88 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |
OLD | NEW |