| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef ResourceLoadTiming_h | 26 #ifndef ResourceLoadTiming_h |
| 27 #define ResourceLoadTiming_h | 27 #define ResourceLoadTiming_h |
| 28 | 28 |
| 29 #include "wtf/PassRefPtr.h" | 29 #include "wtf/PassRefPtr.h" |
| 30 #include "wtf/RefCounted.h" | 30 #include "wtf/RefCounted.h" |
| 31 #include "wtf/RefPtr.h" | 31 #include "wtf/RefPtr.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class DocumentLoadTiming; | |
| 36 | |
| 37 class ResourceLoadTiming : public RefCounted<ResourceLoadTiming> { | 35 class ResourceLoadTiming : public RefCounted<ResourceLoadTiming> { |
| 38 public: | 36 public: |
| 39 static PassRefPtr<ResourceLoadTiming> create() | 37 static PassRefPtr<ResourceLoadTiming> create() |
| 40 { | 38 { |
| 41 return adoptRef(new ResourceLoadTiming); | 39 return adoptRef(new ResourceLoadTiming); |
| 42 } | 40 } |
| 43 | 41 |
| 44 PassRefPtr<ResourceLoadTiming> deepCopy() | 42 PassRefPtr<ResourceLoadTiming> deepCopy() |
| 45 { | 43 { |
| 46 RefPtr<ResourceLoadTiming> timing = create(); | 44 RefPtr<ResourceLoadTiming> timing = create(); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 , receiveHeadersEnd(0) | 112 , receiveHeadersEnd(0) |
| 115 , sslStart(0) | 113 , sslStart(0) |
| 116 , sslEnd(0) | 114 , sslEnd(0) |
| 117 { | 115 { |
| 118 } | 116 } |
| 119 }; | 117 }; |
| 120 | 118 |
| 121 } | 119 } |
| 122 | 120 |
| 123 #endif | 121 #endif |
| OLD | NEW |