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

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

Issue 1128813003: Give shared workers their own content security policies (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 7 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bool m_pauseWorkerContextOnStart; 161 bool m_pauseWorkerContextOnStart;
162 bool m_isPausedOnStart; 162 bool m_isPausedOnStart;
163 163
164 // Kept around only while main script loading is ongoing. 164 // Kept around only while main script loading is ongoing.
165 OwnPtr<Loader> m_mainScriptLoader; 165 OwnPtr<Loader> m_mainScriptLoader;
166 166
167 RefPtr<WorkerLoaderProxy> m_loaderProxy; 167 RefPtr<WorkerLoaderProxy> m_loaderProxy;
168 168
169 WebURL m_url; 169 WebURL m_url;
170 WebString m_name; 170 WebString m_name;
171 WebString m_contentSecurityPolicy;
172 WebContentSecurityPolicyType m_policyType;
173 }; 171 };
174 172
175 } // namespace blink 173 } // namespace blink
176 174
177 #endif // WebSharedWorkerImpl_h 175 #endif // WebSharedWorkerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698