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

Side by Side Diff: content/browser/renderer_host/pepper/quota_reservation.cc

Issue 1853033003: Fix IWYU violators that don't include scoped_ptr.h in Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 "content/browser/renderer_host/pepper/quota_reservation.h" 5 #include "content/browser/renderer_host/pepper/quota_reservation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h"
9 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
10 #include "storage/browser/fileapi/file_system_operation_runner.h" 11 #include "storage/browser/fileapi/file_system_operation_runner.h"
11 #include "storage/browser/fileapi/quota/open_file_handle.h" 12 #include "storage/browser/fileapi/quota/open_file_handle.h"
12 #include "storage/browser/fileapi/quota/quota_reservation.h" 13 #include "storage/browser/fileapi/quota/quota_reservation.h"
13 #include "storage/common/fileapi/file_system_util.h" 14 #include "storage/common/fileapi/file_system_util.h"
14 15
15 namespace content { 16 namespace content {
16 17
17 // static 18 // static
18 scoped_refptr<QuotaReservation> QuotaReservation::Create( 19 scoped_refptr<QuotaReservation> QuotaReservation::Create(
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ->RunsTasksOnCurrentThread()) { 136 ->RunsTasksOnCurrentThread()) {
136 file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE, 137 file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE,
137 this); 138 this);
138 } else { 139 } else {
139 // We're on the right thread to delete, or unit test. 140 // We're on the right thread to delete, or unit test.
140 delete this; 141 delete this;
141 } 142 }
142 } 143 }
143 144
144 } // namespace content 145 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698