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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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) 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 23 matching lines...) Expand all
34 #include "core/dom/ScriptLoader.h" 34 #include "core/dom/ScriptLoader.h"
35 #include "core/dom/TaskRunnerHelper.h" 35 #include "core/dom/TaskRunnerHelper.h"
36 #include "core/events/Event.h" 36 #include "core/events/Event.h"
37 #include "core/fetch/MemoryCache.h" 37 #include "core/fetch/MemoryCache.h"
38 #include "core/fetch/ScriptResource.h" 38 #include "core/fetch/ScriptResource.h"
39 #include "core/frame/LocalFrame.h" 39 #include "core/frame/LocalFrame.h"
40 #include "core/html/parser/HTMLInputStream.h" 40 #include "core/html/parser/HTMLInputStream.h"
41 #include "core/html/parser/HTMLScriptRunnerHost.h" 41 #include "core/html/parser/HTMLScriptRunnerHost.h"
42 #include "core/html/parser/NestingLevelIncrementer.h" 42 #include "core/html/parser/NestingLevelIncrementer.h"
43 #include "platform/Histogram.h" 43 #include "platform/Histogram.h"
44 #include "platform/TraceEvent.h" 44 #include "platform/tracing/TraceEvent.h"
45 #include "platform/TracedValue.h" 45 #include "platform/tracing/TracedValue.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebFrameScheduler.h" 47 #include "public/platform/WebFrameScheduler.h"
48 #include <inttypes.h> 48 #include <inttypes.h>
49 #include <memory> 49 #include <memory>
50 50
51 namespace blink { 51 namespace blink {
52 52
53 namespace { 53 namespace {
54 54
55 // TODO(bmcquade): move this to a shared location if we find ourselves wanting 55 // TODO(bmcquade): move this to a shared location if we find ourselves wanting
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 529
530 DEFINE_TRACE(HTMLScriptRunner) { 530 DEFINE_TRACE(HTMLScriptRunner) {
531 visitor->trace(m_document); 531 visitor->trace(m_document);
532 visitor->trace(m_host); 532 visitor->trace(m_host);
533 visitor->trace(m_parserBlockingScript); 533 visitor->trace(m_parserBlockingScript);
534 visitor->trace(m_scriptsToExecuteAfterParsing); 534 visitor->trace(m_scriptsToExecuteAfterParsing);
535 ScriptResourceClient::trace(visitor); 535 ScriptResourceClient::trace(visitor);
536 } 536 }
537 537
538 } // namespace blink 538 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698