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

Side by Side Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.h

Issue 2043583002: Remove the use of OwnedPtrDeleter in WebMessagePortChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Shuts down the worker thread. 115 // Shuts down the worker thread.
116 void terminateWorkerThread(); 116 void terminateWorkerThread();
117 117
118 // Creates the shadow loader used for worker network requests. 118 // Creates the shadow loader used for worker network requests.
119 void initializeLoader(); 119 void initializeLoader();
120 120
121 void loadShadowPage(); 121 void loadShadowPage();
122 void didReceiveScriptLoaderResponse(); 122 void didReceiveScriptLoaderResponse();
123 void onScriptLoaderFinished(); 123 void onScriptLoaderFinished();
124 124
125 static void connectTask(PassOwnPtr<WebMessagePortChannel>, ExecutionContext* ); 125 static void connectTask(WebMessagePortChannelUniquePtr, ExecutionContext*);
126 // Tasks that are run on the main thread. 126 // Tasks that are run on the main thread.
127 void workerGlobalScopeClosedOnMainThread(); 127 void workerGlobalScopeClosedOnMainThread();
128 void workerThreadTerminatedOnMainThread(); 128 void workerThreadTerminatedOnMainThread();
129 129
130 void postMessageToPageInspectorOnMainThread(const String& message); 130 void postMessageToPageInspectorOnMainThread(const String& message);
131 131
132 // WorkerLoaderProxyProvider 132 // WorkerLoaderProxyProvider
133 void postTaskToLoader(std::unique_ptr<ExecutionContextTask>) override; 133 void postTaskToLoader(std::unique_ptr<ExecutionContextTask>) override;
134 bool postTaskToWorkerGlobalScope(std::unique_ptr<ExecutionContextTask>) over ride; 134 bool postTaskToWorkerGlobalScope(std::unique_ptr<ExecutionContextTask>) over ride;
135 135
(...skipping 21 matching lines...) Expand all
157 RefPtr<WorkerLoaderProxy> m_loaderProxy; 157 RefPtr<WorkerLoaderProxy> m_loaderProxy;
158 158
159 WebURL m_url; 159 WebURL m_url;
160 WebString m_name; 160 WebString m_name;
161 WebAddressSpace m_creationAddressSpace; 161 WebAddressSpace m_creationAddressSpace;
162 }; 162 };
163 163
164 } // namespace blink 164 } // namespace blink
165 165
166 #endif // WebSharedWorkerImpl_h 166 #endif // WebSharedWorkerImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDOMMessageEvent.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698