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

Side by Side Diff: content/browser/service_worker/service_worker_context_wrapper.cc

Issue 136573007: Quota: Factor out (Mock)QuotaManagerProxy into its own file for readability (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698