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

Side by Side Diff: public/web/WebSharedWorkerClient.h

Issue 102243010: Move the worker script loading code to the worker process (phase:1/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Called on the main webkit thread in the worker process during 62 // Called on the main webkit thread in the worker process during
63 // initialization. 63 // initialization.
64 // WebWorkerPermissionClientProxy should not retain the given 64 // WebWorkerPermissionClientProxy should not retain the given
65 // WebSecurityOrigin, as the proxy instance is passed to worker thread 65 // WebSecurityOrigin, as the proxy instance is passed to worker thread
66 // while WebSecurityOrigin is not thread safe. 66 // while WebSecurityOrigin is not thread safe.
67 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(co nst WebSecurityOrigin&) { return 0; } 67 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(co nst WebSecurityOrigin&) { return 0; }
68 68
69 virtual void dispatchDevToolsMessage(const WebString&) { } 69 virtual void dispatchDevToolsMessage(const WebString&) { }
70 virtual void saveDevToolsAgentState(const WebString&) { } 70 virtual void saveDevToolsAgentState(const WebString&) { }
71 virtual void workerScriptLoaded() { }
72 virtual void workerScriptLoadFailed() { }
73 virtual void selectAppChacheID(long long appCacheID) { }
kinuko 2013/12/20 05:07:12 Chache -> Cache :)
horo 2013/12/20 06:30:24 Done.
71 74
72 protected: 75 protected:
73 ~WebSharedWorkerClient() { } 76 ~WebSharedWorkerClient() { }
74 }; 77 };
75 78
76 } // namespace blink 79 } // namespace blink
77 80
78 #endif 81 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698