OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "extensions/common/api/declarative/declarative_manifest_data.h" | 5 #include "extensions/common/api/declarative/declarative_manifest_data.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
8 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
9 #include "extensions/common/manifest_constants.h" | 12 #include "extensions/common/manifest_constants.h" |
10 | 13 |
11 using base::UTF8ToUTF16; | 14 using base::UTF8ToUTF16; |
12 using base::StringPrintf; | 15 using base::StringPrintf; |
13 | 16 |
14 namespace extensions { | 17 namespace extensions { |
15 | 18 |
16 namespace { | 19 namespace { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 } | 172 } |
170 return result; | 173 return result; |
171 } | 174 } |
172 | 175 |
173 std::vector<linked_ptr<DeclarativeManifestData::Rule>>& | 176 std::vector<linked_ptr<DeclarativeManifestData::Rule>>& |
174 DeclarativeManifestData::RulesForEvent(const std::string& event) { | 177 DeclarativeManifestData::RulesForEvent(const std::string& event) { |
175 return event_rules_map_[event]; | 178 return event_rules_map_[event]; |
176 } | 179 } |
177 | 180 |
178 } // namespace extensions | 181 } // namespace extensions |
OLD | NEW |