OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/common/extensions/csp_validator.h" | 5 #include "chrome/common/extensions/csp_validator.h" |
6 | 6 |
7 #include "base/string_split.h" | |
8 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/strings/string_split.h" |
9 #include "base/strings/string_tokenizer.h" | 9 #include "base/strings/string_tokenizer.h" |
10 | 10 |
11 namespace extensions { | 11 namespace extensions { |
12 | 12 |
13 namespace csp_validator { | 13 namespace csp_validator { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 const char kDefaultSrc[] = "default-src"; | 17 const char kDefaultSrc[] = "default-src"; |
18 const char kScriptSrc[] = "script-src"; | 18 const char kScriptSrc[] = "script-src"; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 } | 192 } |
193 } | 193 } |
194 } | 194 } |
195 | 195 |
196 return seen_sandbox; | 196 return seen_sandbox; |
197 } | 197 } |
198 | 198 |
199 } // csp_validator | 199 } // csp_validator |
200 | 200 |
201 } // extensions | 201 } // extensions |
OLD | NEW |