OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
9 #include "base/string_util.h" | 9 #include "base/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/Source/WebKit/chromium/public/WebHTTPHeaderVisitor.
h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPHeade
rVisitor.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader
Client.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; |
20 using WebKit::WebURLLoaderClient; | 20 using WebKit::WebURLLoaderClient; |
21 using WebKit::WebURLResponse; | 21 using WebKit::WebURLResponse; |
22 | 22 |
23 namespace webkit_glue { | 23 namespace webkit_glue { |
24 | 24 |
25 namespace { | 25 namespace { |
(...skipping 369 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 |