OLD | NEW |
1 // Copyright (c) 2011 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/content_settings_mock_provider.h" | 5 #include "chrome/browser/content_settings/content_settings_mock_provider.h" |
6 | 6 |
7 namespace content_settings { | 7 namespace content_settings { |
8 | 8 |
9 MockProvider::MockProvider() | 9 MockProvider::MockProvider() |
10 : read_only_(false) {} | 10 : read_only_(false) {} |
(...skipping 25 matching lines...) Expand all Loading... |
36 content_type, | 36 content_type, |
37 resource_identifier, | 37 resource_identifier, |
38 value); | 38 value); |
39 return true; | 39 return true; |
40 } | 40 } |
41 | 41 |
42 void MockProvider::ShutdownOnUIThread() { | 42 void MockProvider::ShutdownOnUIThread() { |
43 RemoveAllObservers(); | 43 RemoveAllObservers(); |
44 } | 44 } |
45 | 45 |
| 46 std::string MockProvider::GetProviderName() const { |
| 47 return "mock"; |
| 48 } |
| 49 |
| 50 SettingSource MockProvider::GetSettingSource() const { |
| 51 return SETTING_SOURCE_NONE; |
| 52 } |
| 53 |
46 } // namespace content_settings | 54 } // namespace content_settings |
OLD | NEW |