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

Side by Side Diff: Source/web/WebSharedWorkerImpl.h

Issue 843683005: Fix a bit of C++11 in web/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 RefPtrWillBePersistent<ExecutionContext> m_loadingDocument; 138 RefPtrWillBePersistent<ExecutionContext> m_loadingDocument;
139 WebView* m_webView; 139 WebView* m_webView;
140 WebFrame* m_mainFrame; 140 WebFrame* m_mainFrame;
141 bool m_askedToTerminate; 141 bool m_askedToTerminate;
142 142
143 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; 143 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy;
144 144
145 RefPtr<WorkerThread> m_workerThread; 145 RefPtr<WorkerThread> m_workerThread;
146 146
147 // This one's initialized and bound to the main thread. 147 // This one's initialized and bound to the main thread.
148 RefPtr<WeakReference<WebSharedWorkerClient> > m_client; 148 RefPtr<WeakReference<WebSharedWorkerClient>> m_client;
149 149
150 // Usually WeakPtr is created by WeakPtrFactory exposed by Client 150 // Usually WeakPtr is created by WeakPtrFactory exposed by Client
151 // class itself, but here it's implemented by Chrome so we create 151 // class itself, but here it's implemented by Chrome so we create
152 // our own WeakPtr. 152 // our own WeakPtr.
153 WeakPtr<WebSharedWorkerClient> m_clientWeakPtr; 153 WeakPtr<WebSharedWorkerClient> m_clientWeakPtr;
154 154
155 bool m_pauseWorkerContextOnStart; 155 bool m_pauseWorkerContextOnStart;
156 bool m_isPausedOnStart; 156 bool m_isPausedOnStart;
157 157
158 // Kept around only while main script loading is ongoing. 158 // Kept around only while main script loading is ongoing.
159 OwnPtr<Loader> m_mainScriptLoader; 159 OwnPtr<Loader> m_mainScriptLoader;
160 WebURL m_url; 160 WebURL m_url;
161 WebString m_name; 161 WebString m_name;
162 WebString m_contentSecurityPolicy; 162 WebString m_contentSecurityPolicy;
163 WebContentSecurityPolicyType m_policyType; 163 WebContentSecurityPolicyType m_policyType;
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif 168 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698