| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "net/disk_cache/blockfile/backend_impl_v3.h" | 5 #include "net/disk_cache/blockfile/backend_impl_v3.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/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| (...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1503 } | 1503 } |
| 1504 | 1504 |
| 1505 int BackendImplV3::DoomEntriesSince(base::Time initial_time, | 1505 int BackendImplV3::DoomEntriesSince(base::Time initial_time, |
| 1506 const CompletionCallback& callback) { | 1506 const CompletionCallback& callback) { |
| 1507 return net::ERR_FAILED; | 1507 return net::ERR_FAILED; |
| 1508 } | 1508 } |
| 1509 | 1509 |
| 1510 | 1510 |
| 1511 class BackendImplV3::NotImplementedIterator : public Backend::Iterator { | 1511 class BackendImplV3::NotImplementedIterator : public Backend::Iterator { |
| 1512 public: | 1512 public: |
| 1513 virtual int OpenNextEntry(disk_cache::Entry** next_entry, | 1513 int OpenNextEntry(disk_cache::Entry** next_entry, |
| 1514 const net::CompletionCallback& callback) override { | 1514 const net::CompletionCallback& callback) override { |
| 1515 return net::ERR_NOT_IMPLEMENTED; | 1515 return net::ERR_NOT_IMPLEMENTED; |
| 1516 } | 1516 } |
| 1517 }; | 1517 }; |
| 1518 | 1518 |
| 1519 scoped_ptr<Backend::Iterator> BackendImplV3::CreateIterator() { | 1519 scoped_ptr<Backend::Iterator> BackendImplV3::CreateIterator() { |
| 1520 return scoped_ptr<Iterator>(new NotImplementedIterator()); | 1520 return scoped_ptr<Iterator>(new NotImplementedIterator()); |
| 1521 } | 1521 } |
| 1522 | 1522 |
| 1523 void BackendImplV3::GetStats(StatsItems* stats) { | 1523 void BackendImplV3::GetStats(StatsItems* stats) { |
| 1524 NOTIMPLEMENTED(); | 1524 NOTIMPLEMENTED(); |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 void BackendImplV3::OnExternalCacheHit(const std::string& key) { | 1527 void BackendImplV3::OnExternalCacheHit(const std::string& key) { |
| 1528 NOTIMPLEMENTED(); | 1528 NOTIMPLEMENTED(); |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 void BackendImplV3::CleanupCache() { | 1531 void BackendImplV3::CleanupCache() { |
| 1532 } | 1532 } |
| 1533 | 1533 |
| 1534 } // namespace disk_cache | 1534 } // namespace disk_cache |
| OLD | NEW |