| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // from ResourceClient | 54 // from ResourceClient |
| 55 virtual void notifyFinished(Resource*); | 55 virtual void notifyFinished(Resource*); |
| 56 | 56 |
| 57 // from PrerenderClient | 57 // from PrerenderClient |
| 58 virtual void didStartPrerender() OVERRIDE; | 58 virtual void didStartPrerender() OVERRIDE; |
| 59 virtual void didStopPrerender() OVERRIDE; | 59 virtual void didStopPrerender() OVERRIDE; |
| 60 virtual void didSendLoadForPrerender() OVERRIDE; | 60 virtual void didSendLoadForPrerender() OVERRIDE; |
| 61 virtual void didSendDOMContentLoadedForPrerender() OVERRIDE; | 61 virtual void didSendDOMContentLoadedForPrerender() OVERRIDE; |
| 62 | 62 |
| 63 void released(); | 63 void released(); |
| 64 bool loadLink(const LinkRelAttribute&, const String& type, const KURL&, Docu
ment*); | 64 bool loadLink(const LinkRelAttribute&, const String& type, const KURL&, Docu
ment&); |
| 65 | 65 |
| 66 private: | 66 private: |
| 67 void linkLoadTimerFired(Timer<LinkLoader>*); | 67 void linkLoadTimerFired(Timer<LinkLoader>*); |
| 68 void linkLoadingErrorTimerFired(Timer<LinkLoader>*); | 68 void linkLoadingErrorTimerFired(Timer<LinkLoader>*); |
| 69 | 69 |
| 70 LinkLoaderClient* m_client; | 70 LinkLoaderClient* m_client; |
| 71 | 71 |
| 72 ResourcePtr<Resource> m_cachedLinkResource; | 72 ResourcePtr<Resource> m_cachedLinkResource; |
| 73 Timer<LinkLoader> m_linkLoadTimer; | 73 Timer<LinkLoader> m_linkLoadTimer; |
| 74 Timer<LinkLoader> m_linkLoadingErrorTimer; | 74 Timer<LinkLoader> m_linkLoadingErrorTimer; |
| 75 | 75 |
| 76 RefPtr<PrerenderHandle> m_prerenderHandle; | 76 RefPtr<PrerenderHandle> m_prerenderHandle; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } | 79 } |
| 80 | 80 |
| 81 #endif | 81 #endif |
| OLD | NEW |