| 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 CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VALUE
_MAP_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VALUE
_MAP_H_ |
| 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VALUE
_MAP_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VALUE
_MAP_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/tuple.h" | 12 #include "base/tuple.h" |
| 13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
| 14 #include "chrome/browser/content_settings/content_settings_pattern.h" | 14 #include "chrome/common/content_settings_pattern.h" |
| 15 #include "chrome/common/content_settings_types.h" | 15 #include "chrome/common/content_settings_types.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class Value; | 20 class Value; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace content_settings { | 23 namespace content_settings { |
| 24 | 24 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 // Compares two origin value map entries and tests if the item, top-level-frame | 123 // Compares two origin value map entries and tests if the item, top-level-frame |
| 124 // pattern pair of the first entry has a higher precedences then the pattern | 124 // pattern pair of the first entry has a higher precedences then the pattern |
| 125 // pair of the second entry. | 125 // pair of the second entry. |
| 126 bool operator>(const OriginIdentifierValueMap::Entry& first, | 126 bool operator>(const OriginIdentifierValueMap::Entry& first, |
| 127 const OriginIdentifierValueMap::Entry& second); | 127 const OriginIdentifierValueMap::Entry& second); |
| 128 | 128 |
| 129 } // namespace content_settings | 129 } // namespace content_settings |
| 130 | 130 |
| 131 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VA
LUE_MAP_H_ | 131 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_ORIGIN_IDENTIFIER_VA
LUE_MAP_H_ |
| OLD | NEW |