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

Side by Side Diff: chrome/worker/nativewebworker_stub.h

Issue 384103: This patch is the rest of the lint cleanup minus the other open issue. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « chrome/worker/nativewebworker_impl.h ('k') | chrome/worker/websharedworker_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_WORKER_NATIVEWORKER_STUB_H_ 5 #ifndef CHROME_WORKER_NATIVEWEBWORKER_STUB_H_
6 #define CHROME_WORKER_NATIVEWORKER_STUB_H_ 6 #define CHROME_WORKER_NATIVEWEBWORKER_STUB_H_
7 // Native WebWorker support stub header. 7 // Native WebWorker support stub header.
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 10
11 // As we are not including the native client header files, several types 11 // As we are not including the native client header files, several types
12 // from them need to be named outside of structure/method declarations to 12 // from them need to be named outside of structure/method declarations to
13 // avoid compiler warnings/errors. 13 // avoid compiler warnings/errors.
14 14
15 struct NaClApp; 15 struct NaClApp;
16 struct NaClDesc; 16 struct NaClDesc;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Runs an SRPC server loop on the specified channel. The post_message_func 53 // Runs an SRPC server loop on the specified channel. The post_message_func
54 // is invoked whenever the "postMessage" RPC is received. 54 // is invoked whenever the "postMessage" RPC is received.
55 int NaClSrpcListenerLoop(struct NaClDesc *chrome_desc, 55 int NaClSrpcListenerLoop(struct NaClDesc *chrome_desc,
56 NativeWorkerPostMessageFunc func, 56 NativeWorkerPostMessageFunc func,
57 WebKit::WebWorkerClient* client); 57 WebKit::WebWorkerClient* client);
58 58
59 // Destroys the upcall channel. 59 // Destroys the upcall channel.
60 void NaClDestroyUpcallChannel(struct NaClDesc* desc[2]); 60 void NaClDestroyUpcallChannel(struct NaClDesc* desc[2]);
61 } 61 }
62 62
63 #endif // CHROME_WORKER_NATIVEWORKER_STUB_H_ 63 #endif // CHROME_WORKER_NATIVEWEBWORKER_STUB_H_
OLDNEW
« no previous file with comments | « chrome/worker/nativewebworker_impl.h ('k') | chrome/worker/websharedworker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698