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

Side by Side Diff: storage/browser/fileapi/quota/open_file_handle.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/open_file_handle.h" 5 #include "storage/browser/fileapi/quota/open_file_handle.h"
6 6
7 #include "webkit/browser/fileapi/quota/open_file_handle_context.h" 7 #include "storage/browser/fileapi/quota/open_file_handle_context.h"
8 #include "webkit/browser/fileapi/quota/quota_reservation.h" 8 #include "storage/browser/fileapi/quota/quota_reservation.h"
9 9
10 namespace storage { 10 namespace storage {
11 11
12 OpenFileHandle::~OpenFileHandle() { 12 OpenFileHandle::~OpenFileHandle() {
13 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); 13 DCHECK(sequence_checker_.CalledOnValidSequencedThread());
14 } 14 }
15 15
16 void OpenFileHandle::UpdateMaxWrittenOffset(int64 offset) { 16 void OpenFileHandle::UpdateMaxWrittenOffset(int64 offset) {
17 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); 17 DCHECK(sequence_checker_.CalledOnValidSequencedThread());
18 18
(...skipping 27 matching lines...) Expand all
46 } 46 }
47 47
48 OpenFileHandle::OpenFileHandle(QuotaReservation* reservation, 48 OpenFileHandle::OpenFileHandle(QuotaReservation* reservation,
49 OpenFileHandleContext* context) 49 OpenFileHandleContext* context)
50 : reservation_(reservation), 50 : reservation_(reservation),
51 context_(context) { 51 context_(context) {
52 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); 52 DCHECK(sequence_checker_.CalledOnValidSequencedThread());
53 } 53 }
54 54
55 } // namespace storage 55 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/quota/open_file_handle.h ('k') | storage/browser/fileapi/quota/open_file_handle_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698