| 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 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_
H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_
H_ |
| 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_
H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_
H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" | 11 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" |
| 12 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.h" | 12 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.h" |
| 13 #include "components/content_settings/core/common/content_settings_pattern.h" | 13 #include "components/content_settings/core/common/content_settings_pattern.h" |
| 14 #include "components/content_settings/core/common/content_settings_types.h" | 14 #include "components/content_settings/core/common/content_settings_types.h" |
| 15 | 15 |
| 16 namespace content_settings { | 16 namespace content_settings { |
| 17 | 17 |
| 18 // The class MockProvider is a mock for a non default content settings provider. | 18 // The class MockProvider is a mock for a non default content settings provider. |
| 19 class MockProvider : public ObservableProvider { | 19 class MockProvider : public ObservableProvider { |
| 20 public: | 20 public: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 51 private: | 51 private: |
| 52 OriginIdentifierValueMap value_map_; | 52 OriginIdentifierValueMap value_map_; |
| 53 bool read_only_; | 53 bool read_only_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(MockProvider); | 55 DISALLOW_COPY_AND_ASSIGN(MockProvider); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace content_settings | 58 } // namespace content_settings |
| 59 | 59 |
| 60 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVID
ER_H_ | 60 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVID
ER_H_ |
| OLD | NEW |