OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 "content/browser/service_worker/service_worker_context_wrapper.h" | 5 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "content/browser/service_worker/service_worker_context_core.h" | 8 #include "content/browser/service_worker/service_worker_context_core.h" |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 #include "webkit/browser/quota/quota_manager.h" | 10 #include "webkit/browser/quota/quota_manager_proxy.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 ServiceWorkerContextWrapper::ServiceWorkerContextWrapper() { | 14 ServiceWorkerContextWrapper::ServiceWorkerContextWrapper() { |
15 } | 15 } |
16 | 16 |
17 ServiceWorkerContextWrapper::~ServiceWorkerContextWrapper() { | 17 ServiceWorkerContextWrapper::~ServiceWorkerContextWrapper() { |
18 } | 18 } |
19 | 19 |
20 void ServiceWorkerContextWrapper::Init( | 20 void ServiceWorkerContextWrapper::Init( |
(...skipping 22 matching lines...) Expand all Loading... |
43 } | 43 } |
44 context_core_.reset(); | 44 context_core_.reset(); |
45 } | 45 } |
46 | 46 |
47 ServiceWorkerContextCore* ServiceWorkerContextWrapper::context() { | 47 ServiceWorkerContextCore* ServiceWorkerContextWrapper::context() { |
48 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 48 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
49 return context_core_.get(); | 49 return context_core_.get(); |
50 } | 50 } |
51 | 51 |
52 } // namespace content | 52 } // namespace content |
OLD | NEW |