Chromium Code Reviews| Index: public/web/WebEmbeddedWorkerStartData.h |
| diff --git a/public/platform/WebPublicSuffixList.h b/public/web/WebEmbeddedWorkerStartData.h |
| similarity index 75% |
| copy from public/platform/WebPublicSuffixList.h |
| copy to public/web/WebEmbeddedWorkerStartData.h |
| index 341b60fed83c01f4ba62790197f4866bf3ad42c7..f2ca0a4e7a0a4322d1e72bd1e607e1759cda3037 100644 |
| --- a/public/platform/WebPublicSuffixList.h |
| +++ b/public/web/WebEmbeddedWorkerStartData.h |
| @@ -28,22 +28,28 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebPublicSuffixList_h |
| -#define WebPublicSuffixList_h |
| +#ifndef WebEmbeddedWorkerStartData_h |
| +#define WebEmbeddedWorkerStartData_h |
| +#include "WebContentSecurityPolicy.h" |
| #include "public/platform/WebString.h" |
| +#include "public/platform/WebURL.h" |
| namespace blink { |
| -class WebPublicSuffixList { |
| -public: |
| - virtual size_t getPublicSuffixLength(const WebString&) = 0; |
| +enum WebEmbeddedWorkerStartMode { |
| + WebEmbeddedWorkerStartModeDontPauseOnStart, |
| + WebEmbeddedWorkerStartModePauseOnStart |
| +}; |
| -protected: |
| - virtual ~WebPublicSuffixList() { } |
| +struct WebEmbeddedWorkerStartData { |
| + WebURL scriptURL; |
| + WebString userAgent; |
| + WebString contentSecurityPolicy; |
|
michaeln
2013/11/18 19:48:16
What kind of value goes here and where does it com
kinuko
2013/11/19 07:32:29
(As I wrote in the other review) it's for CSP, and
|
| + WebContentSecurityPolicyType contentSecurityPolicyType; |
|
michaeln
2013/11/18 19:48:16
What do these values me... just curious?
WebCo
|
| + WebEmbeddedWorkerStartMode startMode; |
| }; |
| } // namespace blink |
| -#endif // WebPublicSuffixList_h |
| - |
| +#endif // WebEmbeddedWorkerStartData_h |