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

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

Issue 15863002: Fix ResourceLoadTiming Resolution Issue 3rd step - remove old fields (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
76 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const;
77 #endif
78
79 AtomicString m_initiatorType; 75 AtomicString m_initiatorType;
80 RefPtr<ResourceLoadTiming> m_timing; 76 RefPtr<ResourceLoadTiming> m_timing;
81 double m_finishTime; 77 double m_finishTime;
82 bool m_didReuseConnection; 78 bool m_didReuseConnection;
83 bool m_shouldReportDetails; 79 bool m_shouldReportDetails;
84 RefPtr<Document> m_requestingDocument; 80 RefPtr<Document> m_requestingDocument;
85 }; 81 };
86 82
87 } 83 }
88 84
89 #endif // !defined(PerformanceResourceTiming_h) 85 #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