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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.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) 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 22 matching lines...) Expand all
33 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" 33 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h"
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/ScriptResource.h" 37 #include "core/fetch/ScriptResource.h"
38 #include "core/frame/LocalFrame.h" 38 #include "core/frame/LocalFrame.h"
39 #include "core/html/parser/HTMLInputStream.h" 39 #include "core/html/parser/HTMLInputStream.h"
40 #include "core/html/parser/HTMLScriptRunnerHost.h" 40 #include "core/html/parser/HTMLScriptRunnerHost.h"
41 #include "core/html/parser/NestingLevelIncrementer.h" 41 #include "core/html/parser/NestingLevelIncrementer.h"
42 #include "platform/Histogram.h" 42 #include "platform/Histogram.h"
43 #include "platform/TraceEvent.h" 43 #include "platform/tracing/TraceEvent.h"
44 #include "platform/TracedValue.h" 44 #include "platform/tracing/TracedValue.h"
45 #include "public/platform/Platform.h" 45 #include "public/platform/Platform.h"
46 #include "public/platform/WebFrameScheduler.h" 46 #include "public/platform/WebFrameScheduler.h"
47 #include <inttypes.h> 47 #include <inttypes.h>
48 #include <memory> 48 #include <memory>
49 49
50 namespace blink { 50 namespace blink {
51 51
52 namespace { 52 namespace {
53 53
54 // TODO(bmcquade): move this to a shared location if we find ourselves wanting 54 // TODO(bmcquade): move this to a shared location if we find ourselves wanting
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 DEFINE_TRACE(HTMLScriptRunner) 450 DEFINE_TRACE(HTMLScriptRunner)
451 { 451 {
452 visitor->trace(m_document); 452 visitor->trace(m_document);
453 visitor->trace(m_host); 453 visitor->trace(m_host);
454 visitor->trace(m_parserBlockingScript); 454 visitor->trace(m_parserBlockingScript);
455 visitor->trace(m_scriptsToExecuteAfterParsing); 455 visitor->trace(m_scriptsToExecuteAfterParsing);
456 ScriptResourceClient::trace(visitor); 456 ScriptResourceClient::trace(visitor);
457 } 457 }
458 458
459 } // namespace blink 459 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698