Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/callback.h" | 6 #include "base/callback.h" |
| 7 #include "base/files/file_enumerator.h" | 7 #include "base/files/file_enumerator.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 base::ThreadTaskRunnerHandle::Get(), callback)); | 111 base::ThreadTaskRunnerHandle::Get(), callback)); |
| 112 } | 112 } |
| 113 | 113 |
| 114 void ArchiveManager::GetStorageStats( | 114 void ArchiveManager::GetStorageStats( |
| 115 const StorageStatsCallback& callback) const { | 115 const StorageStatsCallback& callback) const { |
| 116 task_runner_->PostTask( | 116 task_runner_->PostTask( |
| 117 FROM_HERE, base::Bind(GetStorageStatsImpl, archives_dir_, | 117 FROM_HERE, base::Bind(GetStorageStatsImpl, archives_dir_, |
| 118 base::ThreadTaskRunnerHandle::Get(), callback)); | 118 base::ThreadTaskRunnerHandle::Get(), callback)); |
| 119 } | 119 } |
| 120 | 120 |
| 121 // protected. | |
| 122 ArchiveManager::ArchiveManager() {} | |
|
fgorski
2016/05/19 04:14:22
constructors go above methods.
romax
2016/05/19 18:34:41
Done.
| |
| 123 | |
| 121 } // namespace offline_pages | 124 } // namespace offline_pages |
| OLD | NEW |