| OLD | NEW |
| 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/quota/quota_manager.h" | 5 #include "webkit/browser/quota/quota_manager.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <functional> | 9 #include <functional> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/file_util.h" | |
| 17 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "base/files/file_util.h" |
| 18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
| 19 #include "base/sequenced_task_runner.h" | 19 #include "base/sequenced_task_runner.h" |
| 20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
| 21 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
| 22 #include "base/sys_info.h" | 22 #include "base/sys_info.h" |
| 23 #include "base/task_runner_util.h" | 23 #include "base/task_runner_util.h" |
| 24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
| 25 #include "net/base/net_util.h" | 25 #include "net/base/net_util.h" |
| 26 #include "webkit/browser/quota/quota_database.h" | 26 #include "webkit/browser/quota/quota_database.h" |
| 27 #include "webkit/browser/quota/quota_manager_proxy.h" | 27 #include "webkit/browser/quota/quota_manager_proxy.h" |
| (...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 // |database_|, therefore we can be sure that database_ is alive when this | 1622 // |database_|, therefore we can be sure that database_ is alive when this |
| 1623 // task runs. | 1623 // task runs. |
| 1624 base::PostTaskAndReplyWithResult( | 1624 base::PostTaskAndReplyWithResult( |
| 1625 db_thread_.get(), | 1625 db_thread_.get(), |
| 1626 from_here, | 1626 from_here, |
| 1627 base::Bind(task, base::Unretained(database_.get())), | 1627 base::Bind(task, base::Unretained(database_.get())), |
| 1628 reply); | 1628 reply); |
| 1629 } | 1629 } |
| 1630 | 1630 |
| 1631 } // namespace storage | 1631 } // namespace storage |
| OLD | NEW |