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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 1319603003: Revert of Pass the v8::Context through the willDestroyServiceWorkerContextOnWorkerThread event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 std::map<std::string, std::string>* properties) {} 292 std::map<std::string, std::string>* properties) {}
293 293
294 // Notifies that a service worker context has been created. This function 294 // Notifies that a service worker context has been created. This function
295 // is called from the worker thread. 295 // is called from the worker thread.
296 virtual void DidInitializeServiceWorkerContextOnWorkerThread( 296 virtual void DidInitializeServiceWorkerContextOnWorkerThread(
297 v8::Local<v8::Context> context, 297 v8::Local<v8::Context> context,
298 const GURL& url) {} 298 const GURL& url) {}
299 299
300 // Notifies that a service worker context will be destroyed. This function 300 // Notifies that a service worker context will be destroyed. This function
301 // is called from the worker thread. 301 // is called from the worker thread.
302 virtual void WillDestroyServiceWorkerContextOnWorkerThread( 302 virtual void WillDestroyServiceWorkerContextOnWorkerThread(const GURL& url) {}
303 v8::Local<v8::Context> context,
304 const GURL& url) {}
305 }; 303 };
306 304
307 } // namespace content 305 } // namespace content
308 306
309 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 307 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/renderer/service_worker/service_worker_context_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698