OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/service_worker/service_worker_context.h" |
| 6 |
| 7 #include "base/files/file_path.h" |
| 8 #include "webkit/browser/quota/quota_manager.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 const base::FilePath::CharType kServiceWorkerDirectory[] = |
| 13 FILE_PATH_LITERAL("ServiceWorker"); |
| 14 |
| 15 ServiceWorkerContext::ServiceWorkerContext( |
| 16 const base::FilePath& path, |
| 17 quota::QuotaManagerProxy* quota_manager_proxy) |
| 18 : quota_manager_proxy_(quota_manager_proxy) { |
| 19 if (!path.empty()) |
| 20 path_ = path.Append(kServiceWorkerDirectory); |
| 21 } |
| 22 |
| 23 ServiceWorkerContext::~ServiceWorkerContext() {} |
| 24 |
| 25 } // namespace content |
OLD | NEW |