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

Side by Side Diff: storage/browser/fileapi/quota/quota_reservation_manager.cc

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build 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 "webkit/browser/fileapi/quota/quota_reservation_manager.h" 5 #include "storage/browser/fileapi/quota/quota_reservation_manager.h"
6 6
7 #include "webkit/browser/fileapi/quota/quota_reservation.h" 7 #include "storage/browser/fileapi/quota/quota_reservation.h"
8 #include "webkit/browser/fileapi/quota/quota_reservation_buffer.h" 8 #include "storage/browser/fileapi/quota/quota_reservation_buffer.h"
9 9
10 namespace storage { 10 namespace storage {
11 11
12 QuotaReservationManager::QuotaReservationManager( 12 QuotaReservationManager::QuotaReservationManager(
13 scoped_ptr<QuotaBackend> backend) 13 scoped_ptr<QuotaBackend> backend)
14 : backend_(backend.Pass()), 14 : backend_(backend.Pass()),
15 weak_ptr_factory_(this) { 15 weak_ptr_factory_(this) {
16 sequence_checker_.DetachFromSequence(); 16 sequence_checker_.DetachFromSequence();
17 } 17 }
18 18
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 82 }
83 83
84 scoped_refptr<QuotaReservation> QuotaReservationManager::CreateReservation( 84 scoped_refptr<QuotaReservation> QuotaReservationManager::CreateReservation(
85 const GURL& origin, 85 const GURL& origin,
86 FileSystemType type) { 86 FileSystemType type) {
87 DCHECK(origin.is_valid()); 87 DCHECK(origin.is_valid());
88 return GetReservationBuffer(origin, type)->CreateReservation();; 88 return GetReservationBuffer(origin, type)->CreateReservation();;
89 } 89 }
90 90
91 } // namespace storage 91 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/quota/quota_reservation_manager.h ('k') | storage/browser/fileapi/recursive_operation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698