| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/content_settings/mock_content_settings_provider.h" | 5 #include "chrome/browser/content_settings/mock_content_settings_provider.h" |
| 6 | 6 |
| 7 MockContentSettingsProvider::MockContentSettingsProvider( | 7 MockContentSettingsProvider::MockContentSettingsProvider( |
| 8 ContentSettingsType content_type, | 8 ContentSettingsType content_type, |
| 9 ContentSetting setting, | 9 ContentSetting setting, |
| 10 bool is_managed, | 10 bool is_managed, |
| 11 bool can_override) | 11 bool can_override) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 35 setting_ = setting; | 35 setting_ = setting; |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool MockContentSettingsProvider::DefaultSettingIsManaged( | 38 bool MockContentSettingsProvider::DefaultSettingIsManaged( |
| 39 ContentSettingsType content_type) const { | 39 ContentSettingsType content_type) const { |
| 40 return content_type == content_type_ && is_managed_; | 40 return content_type == content_type_ && is_managed_; |
| 41 } | 41 } |
| 42 | 42 |
| 43 void MockContentSettingsProvider::ResetToDefaults() { | 43 void MockContentSettingsProvider::ResetToDefaults() { |
| 44 } | 44 } |
| OLD | NEW |