| 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_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION_DE
LEGATE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION_DE
LEGATE_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION_DE
LEGATE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION_DE
LEGATE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/prefs/tracked/tracked_preference_validation_delegate.h" | 11 #include "components/user_prefs/tracked/tracked_preference_validation_delegate.h
" |
| 12 | 12 |
| 13 class Profile; | 13 class Profile; |
| 14 | 14 |
| 15 namespace safe_browsing { | 15 namespace safe_browsing { |
| 16 | 16 |
| 17 class IncidentReceiver; | 17 class IncidentReceiver; |
| 18 | 18 |
| 19 // A preference validation delegate that adds incidents to a given receiver | 19 // A preference validation delegate that adds incidents to a given receiver |
| 20 // for preference validation failures. The profile for which the delegate | 20 // for preference validation failures. The profile for which the delegate |
| 21 // operates must outlive the delegate itself. | 21 // operates must outlive the delegate itself. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 Profile* profile_; | 43 Profile* profile_; |
| 44 scoped_ptr<IncidentReceiver> incident_receiver_; | 44 scoped_ptr<IncidentReceiver> incident_receiver_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(PreferenceValidationDelegate); | 46 DISALLOW_COPY_AND_ASSIGN(PreferenceValidationDelegate); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace safe_browsing | 49 } // namespace safe_browsing |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION
_DELEGATE_H_ | 51 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PREFERENCE_VALIDATION
_DELEGATE_H_ |
| OLD | NEW |