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

Side by Side Diff: Source/core/testing/InspectorFrontendClientLocal.cpp

Issue 23005002: core: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/testing/InspectorFrontendClientLocal.h ('k') | Source/core/testing/Internals.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) 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 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 21 matching lines...) Expand all
32 #include "InspectorFrontendClientLocal.h" 32 #include "InspectorFrontendClientLocal.h"
33 33
34 #include "bindings/v8/ScriptObject.h" 34 #include "bindings/v8/ScriptObject.h"
35 #include "core/inspector/InspectorController.h" 35 #include "core/inspector/InspectorController.h"
36 #include "core/inspector/InspectorFrontendHost.h" 36 #include "core/inspector/InspectorFrontendHost.h"
37 #include "core/page/Page.h" 37 #include "core/page/Page.h"
38 #include "core/page/Settings.h" 38 #include "core/page/Settings.h"
39 #include "core/platform/Timer.h" 39 #include "core/platform/Timer.h"
40 #include "public/platform/Platform.h" 40 #include "public/platform/Platform.h"
41 #include "public/platform/WebThread.h" 41 #include "public/platform/WebThread.h"
42 #include <wtf/Deque.h> 42 #include "wtf/Deque.h"
43 #include <wtf/text/WTFString.h> 43 #include "wtf/text/WTFString.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 class InspectorBackendMessageQueue : public RefCounted<InspectorBackendMessageQu eue> { 47 class InspectorBackendMessageQueue : public RefCounted<InspectorBackendMessageQu eue> {
48 WTF_MAKE_FAST_ALLOCATED; 48 WTF_MAKE_FAST_ALLOCATED;
49 public: 49 public:
50 explicit InspectorBackendMessageQueue(InspectorController* inspectorControll er) 50 explicit InspectorBackendMessageQueue(InspectorController* inspectorControll er)
51 : m_inspectorController(inspectorController) 51 : m_inspectorController(inspectorController)
52 { 52 {
53 } 53 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ScriptGlobalObject::set(frontendScriptState, "InspectorFrontendHost", m_fron tendHost.get()); 122 ScriptGlobalObject::set(frontendScriptState, "InspectorFrontendHost", m_fron tendHost.get());
123 } 123 }
124 124
125 void InspectorFrontendClientLocal::sendMessageToBackend(const String& message) 125 void InspectorFrontendClientLocal::sendMessageToBackend(const String& message)
126 { 126 {
127 m_messageQueue->dispatch(message); 127 m_messageQueue->dispatch(message);
128 } 128 }
129 129
130 } // namespace WebCore 130 } // namespace WebCore
131 131
OLDNEW
« no previous file with comments | « Source/core/testing/InspectorFrontendClientLocal.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698