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_NAVIGATION_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_NAVIGATION_OBSERVER_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_NAVIGATION_OBSERVER_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_NAVIGATION_OBSERVER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
11 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" | 12 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" |
12 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 13 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
13 #include "chrome/browser/supervised_user/supervised_users.h" | 14 #include "chrome/browser/supervised_user/supervised_users.h" |
14 #include "components/sessions/core/serialized_navigation_entry.h" | 15 #include "components/sessions/core/serialized_navigation_entry.h" |
15 #include "content/public/browser/web_contents_user_data.h" | 16 #include "content/public/browser/web_contents_user_data.h" |
16 | 17 |
17 class SupervisedUserService; | 18 class SupervisedUserService; |
18 | 19 |
19 namespace content { | 20 namespace content { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 SupervisedUserService* supervised_user_service_; | 66 SupervisedUserService* supervised_user_service_; |
66 | 67 |
67 ScopedVector<const sessions::SerializedNavigationEntry> blocked_navigations_; | 68 ScopedVector<const sessions::SerializedNavigationEntry> blocked_navigations_; |
68 | 69 |
69 base::WeakPtrFactory<SupervisedUserNavigationObserver> weak_ptr_factory_; | 70 base::WeakPtrFactory<SupervisedUserNavigationObserver> weak_ptr_factory_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(SupervisedUserNavigationObserver); | 72 DISALLOW_COPY_AND_ASSIGN(SupervisedUserNavigationObserver); |
72 }; | 73 }; |
73 | 74 |
74 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_NAVIGATION_OBSERVER_H_ | 75 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_NAVIGATION_OBSERVER_H_ |
OLD | NEW |