| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 | 28 |
| 29 #if ENABLE(WORKERS) | 29 #if ENABLE(WORKERS) |
| 30 | 30 |
| 31 #include "WorkerThread.h" | 31 #include "WorkerThread.h" |
| 32 | 32 |
| 33 #include "KURL.h" | 33 #include "KURL.h" |
| 34 #include "PlatformString.h" | 34 #include "PlatformString.h" |
| 35 #include "ScriptSourceCode.h" | 35 #include "ScriptSourceCode.h" |
| 36 #include "ScriptValue.h" | 36 #include "ScriptValue.h" |
| 37 #include "Worker.h" | |
| 38 #include "WorkerContext.h" | 37 #include "WorkerContext.h" |
| 39 #include "WorkerMessagingProxy.h" | 38 #include "WorkerMessagingProxy.h" |
| 40 #include "WorkerTask.h" | |
| 41 | 39 |
| 42 #include <utility> | 40 #include <utility> |
| 43 #include <wtf/Noncopyable.h> | 41 #include <wtf/Noncopyable.h> |
| 44 | 42 |
| 45 namespace WebCore { | 43 namespace WebCore { |
| 46 struct WorkerThreadStartupData : Noncopyable { | 44 struct WorkerThreadStartupData : Noncopyable { |
| 47 public: | 45 public: |
| 48 static std::auto_ptr<WorkerThreadStartupData> create(const KURL& scriptURL,
const String& userAgent, const String& sourceCode) | 46 static std::auto_ptr<WorkerThreadStartupData> create(const KURL& scriptURL,
const String& userAgent, const String& sourceCode) |
| 49 { | 47 { |
| 50 return std::auto_ptr<WorkerThreadStartupData>(new WorkerThreadStartupDat
a(scriptURL, userAgent, sourceCode)); | 48 return std::auto_ptr<WorkerThreadStartupData>(new WorkerThreadStartupDat
a(scriptURL, userAgent, sourceCode)); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } | 148 } |
| 151 | 149 |
| 152 } // namespace WebCore | 150 } // namespace WebCore |
| 153 | 151 |
| 154 #endif // ENABLE(WORKERS) | 152 #endif // ENABLE(WORKERS) |
| 155 | 153 |
| 156 | 154 |
| 157 | 155 |
| 158 | 156 |
| 159 | 157 |
| OLD | NEW |