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

Side by Side Diff: storage/browser/fileapi/file_system_operation_impl.cc

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyright Created 5 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/file_system_operation_impl.h" 5 #include "storage/browser/fileapi/file_system_operation_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "net/base/escape.h" 11 #include "net/base/escape.h"
12 #include "net/url_request/url_request.h" 12 #include "net/url_request/url_request.h"
13 #include "storage/browser/blob/shareable_file_reference.h"
13 #include "storage/browser/fileapi/async_file_util.h" 14 #include "storage/browser/fileapi/async_file_util.h"
14 #include "storage/browser/fileapi/copy_or_move_operation_delegate.h" 15 #include "storage/browser/fileapi/copy_or_move_operation_delegate.h"
15 #include "storage/browser/fileapi/file_observers.h" 16 #include "storage/browser/fileapi/file_observers.h"
16 #include "storage/browser/fileapi/file_system_backend.h" 17 #include "storage/browser/fileapi/file_system_backend.h"
17 #include "storage/browser/fileapi/file_system_context.h" 18 #include "storage/browser/fileapi/file_system_context.h"
18 #include "storage/browser/fileapi/file_system_file_util.h" 19 #include "storage/browser/fileapi/file_system_file_util.h"
19 #include "storage/browser/fileapi/file_system_operation_context.h" 20 #include "storage/browser/fileapi/file_system_operation_context.h"
20 #include "storage/browser/fileapi/file_system_url.h" 21 #include "storage/browser/fileapi/file_system_url.h"
21 #include "storage/browser/fileapi/file_writer_delegate.h" 22 #include "storage/browser/fileapi/file_writer_delegate.h"
22 #include "storage/browser/fileapi/remove_operation_delegate.h" 23 #include "storage/browser/fileapi/remove_operation_delegate.h"
23 #include "storage/browser/fileapi/sandbox_file_system_backend.h" 24 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
24 #include "storage/browser/quota/quota_manager_proxy.h" 25 #include "storage/browser/quota/quota_manager_proxy.h"
25 #include "storage/common/blob/shareable_file_reference.h"
26 #include "storage/common/fileapi/file_system_types.h" 26 #include "storage/common/fileapi/file_system_types.h"
27 #include "storage/common/fileapi/file_system_util.h" 27 #include "storage/common/fileapi/file_system_util.h"
28 #include "storage/common/quota/quota_types.h" 28 #include "storage/common/quota/quota_types.h"
29 29
30 using storage::ScopedFile; 30 using storage::ScopedFile;
31 31
32 namespace storage { 32 namespace storage {
33 33
34 namespace { 34 namespace {
35 35
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 } 565 }
566 566
567 bool FileSystemOperationImpl::SetPendingOperationType(OperationType type) { 567 bool FileSystemOperationImpl::SetPendingOperationType(OperationType type) {
568 if (pending_operation_ != kOperationNone) 568 if (pending_operation_ != kOperationNone)
569 return false; 569 return false;
570 pending_operation_ = type; 570 pending_operation_ = type;
571 return true; 571 return true;
572 } 572 }
573 573
574 } // namespace storage 574 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698