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 "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "base/string_piece.h" | |
9 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/strings/string_piece.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
11 #include "content/public/common/url_constants.h" | 11 #include "content/public/common/url_constants.h" |
12 #include "extensions/common/constants.h" | 12 #include "extensions/common/constants.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "googleurl/src/url_util.h" | 14 #include "googleurl/src/url_util.h" |
15 | 15 |
16 const char URLPattern::kAllUrlsPattern[] = "<all_urls>"; | 16 const char URLPattern::kAllUrlsPattern[] = "<all_urls>"; |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 } | 531 } |
532 | 532 |
533 return result; | 533 return result; |
534 } | 534 } |
535 | 535 |
536 // static | 536 // static |
537 const char* URLPattern::GetParseResultString( | 537 const char* URLPattern::GetParseResultString( |
538 URLPattern::ParseResult parse_result) { | 538 URLPattern::ParseResult parse_result) { |
539 return kParseResultMessages[parse_result]; | 539 return kParseResultMessages[parse_result]; |
540 } | 540 } |
OLD | NEW |