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 "components/drive/resource_metadata.h" | 5 #include "components/drive/resource_metadata.h" |
6 | 6 |
| 7 #include <limits.h> |
7 #include <stddef.h> | 8 #include <stddef.h> |
8 | 9 |
9 #include "base/bind.h" | 10 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
11 #include "base/guid.h" | 12 #include "base/guid.h" |
12 #include "base/location.h" | 13 #include "base/location.h" |
13 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
14 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
16 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 | 602 |
602 error = cache_->Remove(id); | 603 error = cache_->Remove(id); |
603 if (error != FILE_ERROR_OK) | 604 if (error != FILE_ERROR_OK) |
604 return error; | 605 return error; |
605 | 606 |
606 return storage_->RemoveEntry(id); | 607 return storage_->RemoveEntry(id); |
607 } | 608 } |
608 | 609 |
609 } // namespace internal | 610 } // namespace internal |
610 } // namespace drive | 611 } // namespace drive |
OLD | NEW |