| Index: content/browser/service_worker/service_worker_context.cc
|
| diff --git a/content/browser/service_worker/service_worker_context.cc b/content/browser/service_worker/service_worker_context.cc
|
| deleted file mode 100644
|
| index f61744f36bc148d828cb075f2ff72059cad5f073..0000000000000000000000000000000000000000
|
| --- a/content/browser/service_worker/service_worker_context.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "content/browser/service_worker/service_worker_context.h"
|
| -
|
| -#include "base/command_line.h"
|
| -#include "base/files/file_path.h"
|
| -#include "content/public/common/content_switches.h"
|
| -#include "webkit/browser/quota/quota_manager.h"
|
| -
|
| -namespace content {
|
| -
|
| -const base::FilePath::CharType kServiceWorkerDirectory[] =
|
| - FILE_PATH_LITERAL("ServiceWorker");
|
| -
|
| -ServiceWorkerContext::ServiceWorkerContext(
|
| - const base::FilePath& path,
|
| - quota::QuotaManagerProxy* quota_manager_proxy)
|
| - : quota_manager_proxy_(quota_manager_proxy) {
|
| - if (!path.empty())
|
| - path_ = path.Append(kServiceWorkerDirectory);
|
| -}
|
| -
|
| -bool ServiceWorkerContext::IsEnabled() {
|
| - return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableServiceWorker);
|
| -}
|
| -
|
| -ServiceWorkerContext::~ServiceWorkerContext() {}
|
| -
|
| -} // namespace content
|
|
|