| 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 "config.h" | 5 #include "config.h" |
| 6 | |
| 7 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
| 8 | 7 |
| 9 #include "webkit/glue/feed_preview.h" | 8 #include "webkit/glue/feed_preview.h" |
| 10 | 9 |
| 11 MSVC_PUSH_WARNING_LEVEL(0); | 10 MSVC_PUSH_WARNING_LEVEL(0); |
| 12 #include "ResourceRequest.h" | 11 #include "ResourceRequest.h" |
| 13 #include "ResourceResponse.h" | 12 #include "ResourceResponse.h" |
| 14 #include "ResourceHandle.h" | 13 #include "ResourceHandle.h" |
| 15 MSVC_POP_WARNING(); | 14 MSVC_POP_WARNING(); |
| 16 | 15 |
| 17 #undef LOG | 16 #undef LOG |
| 18 | 17 |
| 19 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "googleurl/src/gurl.h" |
| 20 #include "webkit/glue/glue_util.h" | 20 #include "webkit/glue/glue_util.h" |
| 21 #include "webkit/glue/webkit_glue.h" | 21 #include "webkit/glue/webkit_glue.h" |
| 22 | 22 |
| 23 // Generated by GRIT | 23 // Generated by GRIT |
| 24 #include "webkit_resources.h" | 24 #include "webkit_resources.h" |
| 25 | 25 |
| 26 namespace WebCore { | 26 namespace WebCore { |
| 27 | 27 |
| 28 // Generate a preview for a feed. |url| is the (http://) URL of the feed, | 28 // Generate a preview for a feed. |url| is the (http://) URL of the feed, |
| 29 // and |data| are the bytes we received in response to the HTTP request. | 29 // and |data| are the bytes we received in response to the HTTP request. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 client_->didFinishLoading(handle); | 76 client_->didFinishLoading(handle); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void FeedClientProxy::didFail(ResourceHandle* handle, | 79 void FeedClientProxy::didFail(ResourceHandle* handle, |
| 80 const ResourceError& error) { | 80 const ResourceError& error) { |
| 81 client_->didFail(handle, error); | 81 client_->didFail(handle, error); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace WebCore | 84 } // namespace WebCore |
| 85 | 85 |
| OLD | NEW |