| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ | 5 #ifndef COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ |
| 6 #define COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ | 6 #define COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "components/web_resource/eula_accepted_notifier.h" | 9 #include "components/web_resource/eula_accepted_notifier.h" |
| 9 #include "net/base/network_change_notifier.h" | 10 #include "net/base/network_change_notifier.h" |
| 10 | 11 |
| 11 class PrefService; | 12 class PrefService; |
| 12 | 13 |
| 13 namespace web_resource { | 14 namespace web_resource { |
| 14 | 15 |
| 15 // This class informs an interested observer when resource requests over the | 16 // This class informs an interested observer when resource requests over the |
| 16 // network are permitted. | 17 // network are permitted. |
| 17 // | 18 // |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 120 |
| 120 // Observing service interested in request permissions. | 121 // Observing service interested in request permissions. |
| 121 Observer* observer_; | 122 Observer* observer_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(ResourceRequestAllowedNotifier); | 124 DISALLOW_COPY_AND_ASSIGN(ResourceRequestAllowedNotifier); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace web_resource | 127 } // namespace web_resource |
| 127 | 128 |
| 128 #endif // COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ | 129 #endif // COMPONENTS_WEB_RESOURCE_RESOURCE_REQUEST_ALLOWED_NOTIFIER_H_ |
| OLD | NEW |