OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/quota/quota_manager_proxy.h" | 5 #include "storage/browser/quota/quota_manager_proxy.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | |
10 #include "base/sequenced_task_runner.h" | 9 #include "base/sequenced_task_runner.h" |
11 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
12 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
13 #include "base/task_runner_util.h" | 12 #include "base/task_runner_util.h" |
14 | 13 |
15 namespace storage { | 14 namespace storage { |
16 | 15 |
17 namespace { | 16 namespace { |
18 | 17 |
19 void DidGetUsageAndQuota( | 18 void DidGetUsageAndQuota( |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 QuotaManagerProxy::QuotaManagerProxy( | 151 QuotaManagerProxy::QuotaManagerProxy( |
153 QuotaManager* manager, | 152 QuotaManager* manager, |
154 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread) | 153 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread) |
155 : manager_(manager), io_thread_(io_thread) { | 154 : manager_(manager), io_thread_(io_thread) { |
156 } | 155 } |
157 | 156 |
158 QuotaManagerProxy::~QuotaManagerProxy() { | 157 QuotaManagerProxy::~QuotaManagerProxy() { |
159 } | 158 } |
160 | 159 |
161 } // namespace storage | 160 } // namespace storage |
OLD | NEW |