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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.cc

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 #include "chrome/renderer/chrome_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/crash_logging.h" 8 #include "base/debug/crash_logging.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 ChromeContentRendererClient::DidInitializeServiceWorkerContextOnWorkerThread( 1637 ChromeContentRendererClient::DidInitializeServiceWorkerContextOnWorkerThread(
1638 v8::Local<v8::Context> context, 1638 v8::Local<v8::Context> context,
1639 const GURL& url) { 1639 const GURL& url) {
1640 #if defined(ENABLE_EXTENSIONS) 1640 #if defined(ENABLE_EXTENSIONS)
1641 extensions::Dispatcher::DidInitializeServiceWorkerContextOnWorkerThread( 1641 extensions::Dispatcher::DidInitializeServiceWorkerContextOnWorkerThread(
1642 context, url); 1642 context, url);
1643 #endif 1643 #endif
1644 } 1644 }
1645 1645
1646 void ChromeContentRendererClient::WillDestroyServiceWorkerContextOnWorkerThread( 1646 void ChromeContentRendererClient::WillDestroyServiceWorkerContextOnWorkerThread(
1647 v8::Local<v8::Context> context,
1648 const GURL& url) { 1647 const GURL& url) {
1649 #if defined(ENABLE_EXTENSIONS) 1648 #if defined(ENABLE_EXTENSIONS)
1650 extensions::Dispatcher::WillDestroyServiceWorkerContextOnWorkerThread(context, 1649 extensions::Dispatcher::WillDestroyServiceWorkerContextOnWorkerThread(url);
1651 url);
1652 #endif 1650 #endif
1653 } 1651 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698