OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/csp_validator.h" | 5 #include "extensions/common/csp_validator.h" |
6 | 6 |
7 #include "base/strings/string_split.h" | 7 #include "base/strings/string_split.h" |
8 #include "base/strings/string_tokenizer.h" | 8 #include "base/strings/string_tokenizer.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 | 10 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 if (type == Manifest::TYPE_PLATFORM_APP) { | 188 if (type == Manifest::TYPE_PLATFORM_APP) { |
189 if (token == kAllowTopNavigation) | 189 if (token == kAllowTopNavigation) |
190 return false; | 190 return false; |
191 } | 191 } |
192 } | 192 } |
193 } | 193 } |
194 | 194 |
195 return seen_sandbox; | 195 return seen_sandbox; |
196 } | 196 } |
197 | 197 |
198 } // csp_validator | 198 } // namespace csp_validator |
199 | 199 |
200 } // extensions | 200 } // namespace extensions |
OLD | NEW |