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

Side by Side Diff: content/browser/renderer_host/pepper/quota_reservation.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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
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/renderer_host/pepper/quota_reservation.h" 5 #include "content/browser/renderer_host/pepper/quota_reservation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "storage/browser/fileapi/file_system_operation_runner.h"
11 #include "storage/browser/fileapi/quota/open_file_handle.h"
12 #include "storage/browser/fileapi/quota/quota_reservation.h"
10 #include "storage/common/fileapi/file_system_util.h" 13 #include "storage/common/fileapi/file_system_util.h"
11 #include "webkit/browser/fileapi/file_system_operation_runner.h"
12 #include "webkit/browser/fileapi/quota/open_file_handle.h"
13 #include "webkit/browser/fileapi/quota/quota_reservation.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // static 17 // static
18 scoped_refptr<QuotaReservation> QuotaReservation::Create( 18 scoped_refptr<QuotaReservation> QuotaReservation::Create(
19 scoped_refptr<storage::FileSystemContext> file_system_context, 19 scoped_refptr<storage::FileSystemContext> file_system_context,
20 const GURL& origin_url, 20 const GURL& origin_url,
21 storage::FileSystemType type) { 21 storage::FileSystemType type) {
22 return scoped_refptr<QuotaReservation>( 22 return scoped_refptr<QuotaReservation>(
23 new QuotaReservation(file_system_context, origin_url, type)); 23 new QuotaReservation(file_system_context, origin_url, type));
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ->RunsTasksOnCurrentThread()) { 135 ->RunsTasksOnCurrentThread()) {
136 file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE, 136 file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE,
137 this); 137 this);
138 } else { 138 } else {
139 // We're on the right thread to delete, or unit test. 139 // We're on the right thread to delete, or unit test.
140 delete this; 140 delete this;
141 } 141 }
142 } 142 }
143 143
144 } // namespace content 144 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698