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 "extensions/common/url_pattern.h" | 5 #include "extensions/common/url_pattern.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <ostream> | 9 #include <ostream> |
8 | 10 |
| 11 #include "base/macros.h" |
9 #include "base/strings/pattern.h" | 12 #include "base/strings/pattern.h" |
10 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
12 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
13 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
15 #include "content/public/common/url_constants.h" | 18 #include "content/public/common/url_constants.h" |
16 #include "extensions/common/constants.h" | 19 #include "extensions/common/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 #include "url/gurl.h" | 21 #include "url/gurl.h" |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 } | 610 } |
608 | 611 |
609 return result; | 612 return result; |
610 } | 613 } |
611 | 614 |
612 // static | 615 // static |
613 const char* URLPattern::GetParseResultString( | 616 const char* URLPattern::GetParseResultString( |
614 URLPattern::ParseResult parse_result) { | 617 URLPattern::ParseResult parse_result) { |
615 return kParseResultMessages[parse_result]; | 618 return kParseResultMessages[parse_result]; |
616 } | 619 } |
OLD | NEW |