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

Side by Side Diff: Source/core/inspector/TimelineTraceEventProcessor.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/inspector/TimelineTraceEventProcessor.h ('k') | Source/core/loader/CookieJar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/inspector/TimelineTraceEventProcessor.h" 32 #include "core/inspector/TimelineTraceEventProcessor.h"
33 33
34 #include "core/inspector/InspectorClient.h" 34 #include "core/inspector/InspectorClient.h"
35 #include "core/inspector/InspectorInstrumentation.h" 35 #include "core/inspector/InspectorInstrumentation.h"
36 #include "core/inspector/TimelineRecordFactory.h" 36 #include "core/inspector/TimelineRecordFactory.h"
37 37
38 #include <wtf/CurrentTime.h> 38 #include "wtf/CurrentTime.h"
39 #include <wtf/MainThread.h> 39 #include "wtf/MainThread.h"
40 #include <wtf/ThreadSpecific.h> 40 #include "wtf/Vector.h"
41 #include <wtf/Vector.h>
42 41
43 namespace WebCore { 42 namespace WebCore {
44 43
45 namespace { 44 namespace {
46 45
47 class TraceEventDispatcher { 46 class TraceEventDispatcher {
48 WTF_MAKE_NONCOPYABLE(TraceEventDispatcher); 47 WTF_MAKE_NONCOPYABLE(TraceEventDispatcher);
49 public: 48 public:
50 static TraceEventDispatcher* instance() 49 static TraceEventDispatcher* instance()
51 { 50 {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 for (size_t i = 0, size = events.size(); i < size; ++i) { 367 for (size_t i = 0, size = events.size(); i < size; ++i) {
369 const TraceEvent& event = events[i]; 368 const TraceEvent& event = events[i];
370 HandlersMap::iterator it = m_handlersByType.find(std::make_pair(event.na me(), event.phase())); 369 HandlersMap::iterator it = m_handlersByType.find(std::make_pair(event.na me(), event.phase()));
371 ASSERT(it != m_handlersByType.end() && it->value); 370 ASSERT(it != m_handlersByType.end() && it->value);
372 (this->*(it->value))(event); 371 (this->*(it->value))(event);
373 } 372 }
374 } 373 }
375 374
376 } // namespace WebCore 375 } // namespace WebCore
377 376
OLDNEW
« no previous file with comments | « Source/core/inspector/TimelineTraceEventProcessor.h ('k') | Source/core/loader/CookieJar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698