| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_BROWSING_DATA_STORAGE_PARTITION_HTTP_CACHE_DATA_REMOVER_H_ | 5 #ifndef COMPONENTS_BROWSING_DATA_CONTENT_STORAGE_PARTITION_HTTP_CACHE_DATA_REMOV
ER_H_ |
| 6 #define COMPONENTS_BROWSING_DATA_STORAGE_PARTITION_HTTP_CACHE_DATA_REMOVER_H_ | 6 #define COMPONENTS_BROWSING_DATA_CONTENT_STORAGE_PARTITION_HTTP_CACHE_DATA_REMOV
ER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/sequenced_task_runner_helpers.h" | 12 #include "base/sequenced_task_runner_helpers.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Stores the cache size computation result before it can be returned | 106 // Stores the cache size computation result before it can be returned |
| 107 // via a callback. This is either the sum of size of the the two cache | 107 // via a callback. This is either the sum of size of the the two cache |
| 108 // backends, or an error code if the calculation failed. | 108 // backends, or an error code if the calculation failed. |
| 109 int64_t calculation_result_; | 109 int64_t calculation_result_; |
| 110 | 110 |
| 111 DISALLOW_COPY_AND_ASSIGN(StoragePartitionHttpCacheDataRemover); | 111 DISALLOW_COPY_AND_ASSIGN(StoragePartitionHttpCacheDataRemover); |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace browsing_data | 114 } // namespace browsing_data |
| 115 | 115 |
| 116 #endif // COMPONENTS_BROWSING_DATA_STORAGE_PARTITION_HTTP_CACHE_DATA_REMOVER_H_ | 116 #endif // COMPONENTS_BROWSING_DATA_CONTENT_STORAGE_PARTITION_HTTP_CACHE_DATA_RE
MOVER_H_ |
| OLD | NEW |