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

Side by Side Diff: third_party/WebKit/WebCore/dom/WorkerThread.h

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | Annotate | Revision Log
OLDNEW
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 22 matching lines...) Expand all
33 #include <wtf/OwnPtr.h> 33 #include <wtf/OwnPtr.h>
34 #include <wtf/PassRefPtr.h> 34 #include <wtf/PassRefPtr.h>
35 #include <wtf/RefCounted.h> 35 #include <wtf/RefCounted.h>
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class KURL; 39 class KURL;
40 class String; 40 class String;
41 class WorkerContext; 41 class WorkerContext;
42 class WorkerMessagingProxy; 42 class WorkerMessagingProxy;
43 class WorkerTask;
44 struct WorkerThreadStartupData; 43 struct WorkerThreadStartupData;
45 44
46 class WorkerThread : public RefCounted<WorkerThread> { 45 class WorkerThread : public RefCounted<WorkerThread> {
47 public: 46 public:
48 static PassRefPtr<WorkerThread> create(const KURL& scriptURL, const Stri ng& userAgent, const String& sourceCode, WorkerMessagingProxy*); 47 static PassRefPtr<WorkerThread> create(const KURL& scriptURL, const Stri ng& userAgent, const String& sourceCode, WorkerMessagingProxy*);
49 ~WorkerThread(); 48 ~WorkerThread();
50 49
51 bool start(); 50 bool start();
52 void stop(); 51 void stop();
53 52
(...skipping 17 matching lines...) Expand all
71 OwnPtr<WorkerThreadStartupData> m_startupData; 70 OwnPtr<WorkerThreadStartupData> m_startupData;
72 }; 71 };
73 72
74 } // namespace WebCore 73 } // namespace WebCore
75 74
76 #endif // ENABLE(WORKERS) 75 #endif // ENABLE(WORKERS)
77 76
78 #endif // WorkerThread_h 77 #endif // WorkerThread_h
79 78
80 79
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/dom/WorkerTask.cpp ('k') | third_party/WebKit/WebCore/dom/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698