| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/loader/ResourceLoadNotifier.h" | 32 #include "core/loader/ResourceLoadNotifier.h" |
| 33 | 33 |
| 34 #include "core/inspector/InspectorInstrumentation.h" | 34 #include "core/inspector/InspectorInstrumentation.h" |
| 35 #include "core/loader/DocumentLoader.h" | 35 #include "core/loader/DocumentLoader.h" |
| 36 #include "core/loader/FrameLoader.h" | 36 #include "core/loader/FrameLoader.h" |
| 37 #include "core/loader/FrameLoaderClient.h" | 37 #include "core/loader/FrameLoaderClient.h" |
| 38 #include "core/loader/ProgressTracker.h" | 38 #include "core/loader/ProgressTracker.h" |
| 39 #include "core/loader/ResourceLoader.h" | |
| 40 #include "core/page/Frame.h" | 39 #include "core/page/Frame.h" |
| 41 #include "core/page/Page.h" | 40 #include "core/page/Page.h" |
| 42 | 41 |
| 43 namespace WebCore { | 42 namespace WebCore { |
| 44 | 43 |
| 45 ResourceLoadNotifier::ResourceLoadNotifier(Frame* frame) | 44 ResourceLoadNotifier::ResourceLoadNotifier(Frame* frame) |
| 46 : m_frame(frame) | 45 : m_frame(frame) |
| 47 { | 46 { |
| 48 } | 47 } |
| 49 | 48 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 if (dataLength > 0) | 98 if (dataLength > 0) |
| 100 dispatchDidReceiveData(loader, identifier, data, dataLength, encodedData
Length); | 99 dispatchDidReceiveData(loader, identifier, data, dataLength, encodedData
Length); |
| 101 | 100 |
| 102 if (error.isNull()) | 101 if (error.isNull()) |
| 103 dispatchDidFinishLoading(loader, identifier, 0); | 102 dispatchDidFinishLoading(loader, identifier, 0); |
| 104 else | 103 else |
| 105 dispatchDidFail(loader, identifier, error); | 104 dispatchDidFail(loader, identifier, error); |
| 106 } | 105 } |
| 107 | 106 |
| 108 } // namespace WebCore | 107 } // namespace WebCore |
| OLD | NEW |