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) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 19 matching lines...) Expand all Loading... |
30 #ifndef DocumentLoader_h | 30 #ifndef DocumentLoader_h |
31 #define DocumentLoader_h | 31 #define DocumentLoader_h |
32 | 32 |
33 #include "CachedRawResource.h" | 33 #include "CachedRawResource.h" |
34 #include "CachedResourceHandle.h" | 34 #include "CachedResourceHandle.h" |
35 #include "DocumentLoadTiming.h" | 35 #include "DocumentLoadTiming.h" |
36 #include "DocumentWriter.h" | 36 #include "DocumentWriter.h" |
37 #include "NavigationAction.h" | 37 #include "NavigationAction.h" |
38 #include "ResourceLoaderOptions.h" | 38 #include "ResourceLoaderOptions.h" |
39 #include "SubstituteData.h" | 39 #include "SubstituteData.h" |
40 #include "Timer.h" | 40 #include "core/platform/Timer.h" |
41 #include "core/platform/network/ResourceError.h" | 41 #include "core/platform/network/ResourceError.h" |
42 #include "core/platform/network/ResourceRequest.h" | 42 #include "core/platform/network/ResourceRequest.h" |
43 #include "core/platform/network/ResourceResponse.h" | 43 #include "core/platform/network/ResourceResponse.h" |
44 #include "core/platform/text/StringWithDirection.h" | 44 #include "core/platform/text/StringWithDirection.h" |
45 #include <wtf/HashSet.h> | 45 #include <wtf/HashSet.h> |
46 #include <wtf/RefPtr.h> | 46 #include <wtf/RefPtr.h> |
47 #include <wtf/Vector.h> | 47 #include <wtf/Vector.h> |
48 | 48 |
49 namespace WTF { | 49 namespace WTF { |
50 class SchedulePair; | 50 class SchedulePair; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 inline void DocumentLoader::takeMemoryCacheLoadsForClientNotification(Vector
<String>& loadsSet) | 315 inline void DocumentLoader::takeMemoryCacheLoadsForClientNotification(Vector
<String>& loadsSet) |
316 { | 316 { |
317 loadsSet.swap(m_resourcesLoadedFromMemoryCacheForClientNotification); | 317 loadsSet.swap(m_resourcesLoadedFromMemoryCacheForClientNotification); |
318 m_resourcesLoadedFromMemoryCacheForClientNotification.clear(); | 318 m_resourcesLoadedFromMemoryCacheForClientNotification.clear(); |
319 } | 319 } |
320 | 320 |
321 } | 321 } |
322 | 322 |
323 #endif // DocumentLoader_h | 323 #endif // DocumentLoader_h |
OLD | NEW |