Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: Source/core/page/PerformanceResourceTiming.h

Issue 15265004: Fix ResourceLoadTiming resolution lose issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add inline help function to satisfy inspector Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 double requestStart() const; 65 double requestStart() const;
66 double responseStart() const; 66 double responseStart() const;
67 double responseEnd() const; 67 double responseEnd() const;
68 68
69 virtual bool isResource() { return true; } 69 virtual bool isResource() { return true; }
70 70
71 private: 71 private:
72 PerformanceResourceTiming(const AtomicString& initatorType, const ResourceRe quest&, const ResourceResponse&, double initiationTime, double finishTime, Docum ent*); 72 PerformanceResourceTiming(const AtomicString& initatorType, const ResourceRe quest&, const ResourceResponse&, double initiationTime, double finishTime, Docum ent*);
73 ~PerformanceResourceTiming(); 73 ~PerformanceResourceTiming();
74 74
75 #ifndef ENABLE_DOUBLE_RESOURCE_LOAD_TIMING
75 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const; 76 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const;
77 #endif
76 78
77 AtomicString m_initiatorType; 79 AtomicString m_initiatorType;
78 RefPtr<ResourceLoadTiming> m_timing; 80 RefPtr<ResourceLoadTiming> m_timing;
79 double m_finishTime; 81 double m_finishTime;
80 bool m_didReuseConnection; 82 bool m_didReuseConnection;
81 bool m_shouldReportDetails; 83 bool m_shouldReportDetails;
82 RefPtr<Document> m_requestingDocument; 84 RefPtr<Document> m_requestingDocument;
83 }; 85 };
84 86
85 } 87 }
86 88
87 #endif // !defined(PerformanceResourceTiming_h) 89 #endif // !defined(PerformanceResourceTiming_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/page/PerformanceResourceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698