| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |