| 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_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> |
| 8 #include <set> | 9 #include <set> |
| 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/callback.h" | 13 #include "base/callback.h" |
| 12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/prefs/pref_change_registrar.h" | 16 #include "base/prefs/pref_change_registrar.h" |
| 15 #include "base/scoped_observer.h" | 17 #include "base/scoped_observer.h" |
| 16 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
| 17 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" | 19 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" |
| 18 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 20 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 bool did_init_; | 319 bool did_init_; |
| 318 | 320 |
| 319 // True only when |Shutdown()| method has been called. | 321 // True only when |Shutdown()| method has been called. |
| 320 bool did_shutdown_; | 322 bool did_shutdown_; |
| 321 | 323 |
| 322 URLFilterContext url_filter_context_; | 324 URLFilterContext url_filter_context_; |
| 323 | 325 |
| 324 // Used to create permission requests. | 326 // Used to create permission requests. |
| 325 scoped_ptr<PermissionRequestCreator> permissions_creator_; | 327 scoped_ptr<PermissionRequestCreator> permissions_creator_; |
| 326 | 328 |
| 327 // True iff we are waiting for a permission request to be issued. | |
| 328 bool waiting_for_permissions_; | |
| 329 | |
| 330 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; | 329 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; |
| 331 }; | 330 }; |
| 332 | 331 |
| 333 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 332 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
| OLD | NEW |