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 <stddef.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
| 11 #include "base/macros.h" |
9 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
10 #include "base/strings/string_tokenizer.h" | 13 #include "base/strings/string_tokenizer.h" |
11 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
12 #include "content/public/common/url_constants.h" | 15 #include "content/public/common/url_constants.h" |
13 #include "extensions/common/constants.h" | 16 #include "extensions/common/constants.h" |
14 #include "extensions/common/error_utils.h" | 17 #include "extensions/common/error_utils.h" |
15 #include "extensions/common/install_warning.h" | 18 #include "extensions/common/install_warning.h" |
16 #include "extensions/common/manifest_constants.h" | 19 #include "extensions/common/manifest_constants.h" |
17 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 20 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
18 | 21 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 } | 369 } |
367 } | 370 } |
368 } | 371 } |
369 | 372 |
370 return seen_sandbox; | 373 return seen_sandbox; |
371 } | 374 } |
372 | 375 |
373 } // namespace csp_validator | 376 } // namespace csp_validator |
374 | 377 |
375 } // namespace extensions | 378 } // namespace extensions |
OLD | NEW |