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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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_runner.h" 5 #include "storage/browser/fileapi/file_system_operation_runner.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <tuple> 10 #include <tuple>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h"
15 #include "base/stl_util.h" 16 #include "base/stl_util.h"
16 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
17 #include "net/url_request/url_request_context.h" 18 #include "net/url_request/url_request_context.h"
18 #include "storage/browser/blob/blob_url_request_job_factory.h" 19 #include "storage/browser/blob/blob_url_request_job_factory.h"
19 #include "storage/browser/blob/shareable_file_reference.h" 20 #include "storage/browser/blob/shareable_file_reference.h"
20 #include "storage/browser/fileapi/file_observers.h" 21 #include "storage/browser/fileapi/file_observers.h"
21 #include "storage/browser/fileapi/file_stream_writer.h" 22 #include "storage/browser/fileapi/file_stream_writer.h"
22 #include "storage/browser/fileapi/file_system_context.h" 23 #include "storage/browser/fileapi/file_system_context.h"
23 #include "storage/browser/fileapi/file_writer_delegate.h" 24 #include "storage/browser/fileapi/file_writer_delegate.h"
24 25
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 stray_cancel_callbacks_.find(id); 725 stray_cancel_callbacks_.find(id);
725 if (found_cancel != stray_cancel_callbacks_.end()) { 726 if (found_cancel != stray_cancel_callbacks_.end()) {
726 // This cancel has been requested after the operation has finished, 727 // This cancel has been requested after the operation has finished,
727 // so report that we failed to stop it. 728 // so report that we failed to stop it.
728 found_cancel->second.Run(base::File::FILE_ERROR_INVALID_OPERATION); 729 found_cancel->second.Run(base::File::FILE_ERROR_INVALID_OPERATION);
729 stray_cancel_callbacks_.erase(found_cancel); 730 stray_cancel_callbacks_.erase(found_cancel);
730 } 731 }
731 } 732 }
732 733
733 } // namespace storage 734 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698