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 "webkit/glue/multipart_response_delegate.h" | 5 #include "webkit/glue/multipart_response_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | |
9 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/string_util.h" |
10 #include "net/base/net_util.h" | 10 #include "net/base/net_util.h" |
11 #include "net/http/http_util.h" | 11 #include "net/http/http_util.h" |
12 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" | 12 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
13 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
14 #include "third_party/WebKit/public/platform/WebURL.h" | 14 #include "third_party/WebKit/public/platform/WebURL.h" |
15 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 15 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
16 | 16 |
17 using WebKit::WebHTTPHeaderVisitor; | 17 using WebKit::WebHTTPHeaderVisitor; |
18 using WebKit::WebString; | 18 using WebKit::WebString; |
19 using WebKit::WebURLLoader; | 19 using WebKit::WebURLLoader; |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 if (!base::StringToInt64(byte_range_upper_bound, content_range_upper_bound)) | 395 if (!base::StringToInt64(byte_range_upper_bound, content_range_upper_bound)) |
396 return false; | 396 return false; |
397 if (!base::StringToInt64(byte_range_instance_size, | 397 if (!base::StringToInt64(byte_range_instance_size, |
398 content_range_instance_size)) { | 398 content_range_instance_size)) { |
399 return false; | 399 return false; |
400 } | 400 } |
401 return true; | 401 return true; |
402 } | 402 } |
403 | 403 |
404 } // namespace webkit_glue | 404 } // namespace webkit_glue |
OLD | NEW |