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/browser/extensions/api/web_request/form_data_parser.h" | 5 #include "extensions/browser/api/web_request/form_data_parser.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "net/base/escape.h" | 14 #include "net/base/escape.h" |
15 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 if (value_pattern().Match(header, | 586 if (value_pattern().Match(header, |
587 kContentDispositionLength, header.size(), | 587 kContentDispositionLength, header.size(), |
588 RE2::UNANCHORED, groups, 2)) { | 588 RE2::UNANCHORED, groups, 2)) { |
589 value->set(groups[1].data(), groups[1].size()); | 589 value->set(groups[1].data(), groups[1].size()); |
590 *value_assigned = true; | 590 *value_assigned = true; |
591 } | 591 } |
592 return true; | 592 return true; |
593 } | 593 } |
594 | 594 |
595 } // namespace extensions | 595 } // namespace extensions |
OLD | NEW |