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

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

Issue 1558633002: Cleanup: Remove double semicolons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert CP code to a while loop, fix nit Created 4 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
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 "storage/browser/fileapi/quota/quota_reservation_manager.h" 5 #include "storage/browser/fileapi/quota/quota_reservation_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "storage/browser/fileapi/quota/quota_reservation.h" 10 #include "storage/browser/fileapi/quota/quota_reservation.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 std::pair<GURL, FileSystemType> key(reservation_buffer->origin(), 78 std::pair<GURL, FileSystemType> key(reservation_buffer->origin(),
79 reservation_buffer->type()); 79 reservation_buffer->type());
80 DCHECK_EQ(reservation_buffers_[key], reservation_buffer); 80 DCHECK_EQ(reservation_buffers_[key], reservation_buffer);
81 reservation_buffers_.erase(key); 81 reservation_buffers_.erase(key);
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

Powered by Google App Engine
This is Rietveld 408576698