| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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" | 8 #include "base/string_util.h" |
| 9 #include "net/base/net_util.h" | 9 #include "net/base/net_util.h" |
| 10 #include "webkit/api/public/WebHTTPHeaderVisitor.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebHTTPHeaderVisitor.h" |
| 11 #include "webkit/api/public/WebString.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
| 12 #include "webkit/api/public/WebURL.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
| 13 #include "webkit/api/public/WebURLLoaderClient.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" |
| 14 #include "webkit/glue/glue_util.h" | 14 #include "webkit/glue/glue_util.h" |
| 15 | 15 |
| 16 using WebKit::WebHTTPHeaderVisitor; | 16 using WebKit::WebHTTPHeaderVisitor; |
| 17 using WebKit::WebString; | 17 using WebKit::WebString; |
| 18 using WebKit::WebURLLoader; | 18 using WebKit::WebURLLoader; |
| 19 using WebKit::WebURLLoaderClient; | 19 using WebKit::WebURLLoaderClient; |
| 20 using WebKit::WebURLResponse; | 20 using WebKit::WebURLResponse; |
| 21 | 21 |
| 22 namespace webkit_glue { | 22 namespace webkit_glue { |
| 23 | 23 |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 byte_range_upper_bound_characters); | 321 byte_range_upper_bound_characters); |
| 322 | 322 |
| 323 if (!StringToInt(byte_range_lower_bound, content_range_lower_bound)) | 323 if (!StringToInt(byte_range_lower_bound, content_range_lower_bound)) |
| 324 return false; | 324 return false; |
| 325 if (!StringToInt(byte_range_upper_bound, content_range_upper_bound)) | 325 if (!StringToInt(byte_range_upper_bound, content_range_upper_bound)) |
| 326 return false; | 326 return false; |
| 327 return true; | 327 return true; |
| 328 } | 328 } |
| 329 | 329 |
| 330 } // namespace webkit_glue | 330 } // namespace webkit_glue |
| OLD | NEW |