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

Side by Side Diff: Source/web/WebEmbeddedWorkerImpl.h

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.h ('k') | Source/web/WebEntities.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class WorkerInspectorProxy; 48 class WorkerInspectorProxy;
49 class WorkerScriptLoader; 49 class WorkerScriptLoader;
50 class WorkerThread; 50 class WorkerThread;
51 51
52 class WebEmbeddedWorkerImpl final 52 class WebEmbeddedWorkerImpl final
53 : public WebEmbeddedWorker 53 : public WebEmbeddedWorker
54 , public WebFrameClient 54 , public WebFrameClient
55 , public WebDevToolsAgentClient 55 , public WebDevToolsAgentClient
56 , private WorkerLoaderProxyProvider { 56 , private WorkerLoaderProxyProvider {
57 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl); 57 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl);
58 WTF_MAKE_FAST_ALLOCATED(WebEmbeddedWorkerImpl);
58 public: 59 public:
59 WebEmbeddedWorkerImpl(PassOwnPtr<WebServiceWorkerContextClient>, PassOwnPtr< WebWorkerContentSettingsClientProxy>); 60 WebEmbeddedWorkerImpl(PassOwnPtr<WebServiceWorkerContextClient>, PassOwnPtr< WebWorkerContentSettingsClientProxy>);
60 ~WebEmbeddedWorkerImpl() override; 61 ~WebEmbeddedWorkerImpl() override;
61 62
62 // WebEmbeddedWorker overrides. 63 // WebEmbeddedWorker overrides.
63 void startWorkerContext(const WebEmbeddedWorkerStartData&) override; 64 void startWorkerContext(const WebEmbeddedWorkerStartData&) override;
64 void terminateWorkerContext() override; 65 void terminateWorkerContext() override;
65 void attachDevTools(const WebString& hostId) override; 66 void attachDevTools(const WebString& hostId) override;
66 void reattachDevTools(const WebString& hostId, const WebString& savedState) override; 67 void reattachDevTools(const WebString& hostId, const WebString& savedState) override;
67 void detachDevTools() override; 68 void detachDevTools() override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 WaitingForDebuggerAfterScriptLoaded, 126 WaitingForDebuggerAfterScriptLoaded,
126 NotWaitingForDebugger 127 NotWaitingForDebugger
127 }; 128 };
128 129
129 WaitingForDebuggerState m_waitingForDebuggerState; 130 WaitingForDebuggerState m_waitingForDebuggerState;
130 }; 131 };
131 132
132 } // namespace blink 133 } // namespace blink
133 134
134 #endif // WebEmbeddedWorkerImpl_h 135 #endif // WebEmbeddedWorkerImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.h ('k') | Source/web/WebEntities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698