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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 #include "core/page/Page.h" 148 #include "core/page/Page.h"
149 #include "core/page/PrintContext.h" 149 #include "core/page/PrintContext.h"
150 #include "core/paint/PaintLayer.h" 150 #include "core/paint/PaintLayer.h"
151 #include "core/paint/TransformRecorder.h" 151 #include "core/paint/TransformRecorder.h"
152 #include "core/style/StyleInheritedData.h" 152 #include "core/style/StyleInheritedData.h"
153 #include "core/timing/DOMWindowPerformance.h" 153 #include "core/timing/DOMWindowPerformance.h"
154 #include "core/timing/Performance.h" 154 #include "core/timing/Performance.h"
155 #include "modules/app_banner/AppBannerController.h" 155 #include "modules/app_banner/AppBannerController.h"
156 #include "modules/screen_orientation/ScreenOrientationController.h" 156 #include "modules/screen_orientation/ScreenOrientationController.h"
157 #include "platform/ScriptForbiddenScope.h" 157 #include "platform/ScriptForbiddenScope.h"
158 #include "platform/TraceEvent.h"
159 #include "platform/UserGestureIndicator.h" 158 #include "platform/UserGestureIndicator.h"
160 #include "platform/clipboard/ClipboardUtilities.h" 159 #include "platform/clipboard/ClipboardUtilities.h"
161 #include "platform/fonts/FontCache.h" 160 #include "platform/fonts/FontCache.h"
162 #include "platform/graphics/GraphicsContext.h" 161 #include "platform/graphics/GraphicsContext.h"
163 #include "platform/graphics/GraphicsLayerClient.h" 162 #include "platform/graphics/GraphicsLayerClient.h"
164 #include "platform/graphics/paint/ClipRecorder.h" 163 #include "platform/graphics/paint/ClipRecorder.h"
165 #include "platform/graphics/paint/DisplayItemCacheSkipper.h" 164 #include "platform/graphics/paint/DisplayItemCacheSkipper.h"
166 #include "platform/graphics/paint/DrawingRecorder.h" 165 #include "platform/graphics/paint/DrawingRecorder.h"
167 #include "platform/graphics/paint/SkPictureBuilder.h" 166 #include "platform/graphics/paint/SkPictureBuilder.h"
168 #include "platform/graphics/skia/SkiaUtils.h" 167 #include "platform/graphics/skia/SkiaUtils.h"
169 #include "platform/heap/Handle.h" 168 #include "platform/heap/Handle.h"
170 #include "platform/network/ResourceRequest.h" 169 #include "platform/network/ResourceRequest.h"
171 #include "platform/scroll/ScrollTypes.h" 170 #include "platform/scroll/ScrollTypes.h"
172 #include "platform/scroll/ScrollbarTheme.h" 171 #include "platform/scroll/ScrollbarTheme.h"
172 #include "platform/tracing/TraceEvent.h"
173 #include "platform/weborigin/KURL.h" 173 #include "platform/weborigin/KURL.h"
174 #include "platform/weborigin/SchemeRegistry.h" 174 #include "platform/weborigin/SchemeRegistry.h"
175 #include "platform/weborigin/SecurityPolicy.h" 175 #include "platform/weborigin/SecurityPolicy.h"
176 #include "public/platform/InterfaceProvider.h" 176 #include "public/platform/InterfaceProvider.h"
177 #include "public/platform/WebDoubleSize.h" 177 #include "public/platform/WebDoubleSize.h"
178 #include "public/platform/WebFloatPoint.h" 178 #include "public/platform/WebFloatPoint.h"
179 #include "public/platform/WebFloatRect.h" 179 #include "public/platform/WebFloatRect.h"
180 #include "public/platform/WebLayer.h" 180 #include "public/platform/WebLayer.h"
181 #include "public/platform/WebPoint.h" 181 #include "public/platform/WebPoint.h"
182 #include "public/platform/WebRect.h" 182 #include "public/platform/WebRect.h"
(...skipping 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after
2235 feature = UseCounter::ChromeLoadTimesNpnNegotiatedProtocol; 2235 feature = UseCounter::ChromeLoadTimesNpnNegotiatedProtocol;
2236 } else if (metric == "wasAlternateProtocolAvailable") { 2236 } else if (metric == "wasAlternateProtocolAvailable") {
2237 feature = UseCounter::ChromeLoadTimesWasAlternateProtocolAvailable; 2237 feature = UseCounter::ChromeLoadTimesWasAlternateProtocolAvailable;
2238 } else if (metric == "connectionInfo") { 2238 } else if (metric == "connectionInfo") {
2239 feature = UseCounter::ChromeLoadTimesConnectionInfo; 2239 feature = UseCounter::ChromeLoadTimesConnectionInfo;
2240 } 2240 }
2241 UseCounter::count(frame(), feature); 2241 UseCounter::count(frame(), feature);
2242 } 2242 }
2243 2243
2244 } // namespace blink 2244 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698