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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoadTiming.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 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 18 matching lines...) Expand all
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "wtf/CurrentTime.h" 31 #include "wtf/CurrentTime.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class DocumentLoader; 35 class DocumentLoader;
36 class KURL; 36 class KURL;
37 37
38 class CORE_EXPORT DocumentLoadTiming final { 38 class CORE_EXPORT DocumentLoadTiming final {
39 DISALLOW_ALLOCATION(); 39 DISALLOW_NEW();
40 public: 40 public:
41 explicit DocumentLoadTiming(DocumentLoader&); 41 explicit DocumentLoadTiming(DocumentLoader&);
42 42
43 double monotonicTimeToZeroBasedDocumentTime(double) const; 43 double monotonicTimeToZeroBasedDocumentTime(double) const;
44 double monotonicTimeToPseudoWallTime(double) const; 44 double monotonicTimeToPseudoWallTime(double) const;
45 double pseudoWallTimeToMonotonicTime(double) const; 45 double pseudoWallTimeToMonotonicTime(double) const;
46 46
47 void markNavigationStart(); 47 void markNavigationStart();
48 void setNavigationStart(double); 48 void setNavigationStart(double);
49 void addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl); 49 void addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 double m_loadEventEnd; 93 double m_loadEventEnd;
94 bool m_hasCrossOriginRedirect; 94 bool m_hasCrossOriginRedirect;
95 bool m_hasSameOriginAsPreviousDocument; 95 bool m_hasSameOriginAsPreviousDocument;
96 96
97 RawPtrWillBeMember<DocumentLoader> m_documentLoader; 97 RawPtrWillBeMember<DocumentLoader> m_documentLoader;
98 }; 98 };
99 99
100 } // namespace blink 100 } // namespace blink
101 101
102 #endif 102 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698