OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/extensions/updater/local_extension_cache.h" | 5 #include "chrome/browser/extensions/updater/local_extension_cache.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | |
9 #include "base/files/file_enumerator.h" | 8 #include "base/files/file_enumerator.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
13 #include "base/version.h" | 13 #include "base/version.h" |
14 #include "components/crx_file/id_util.h" | 14 #include "components/crx_file/id_util.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 | 16 |
17 namespace extensions { | 17 namespace extensions { |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 | 484 |
485 LocalExtensionCache::CacheItemInfo::CacheItemInfo( | 485 LocalExtensionCache::CacheItemInfo::CacheItemInfo( |
486 const std::string& version, | 486 const std::string& version, |
487 const base::Time& last_used, | 487 const base::Time& last_used, |
488 uint64 size, | 488 uint64 size, |
489 const base::FilePath& file_path) | 489 const base::FilePath& file_path) |
490 : version(version), last_used(last_used), size(size), file_path(file_path) { | 490 : version(version), last_used(last_used), size(size), file_path(file_path) { |
491 } | 491 } |
492 | 492 |
493 } // namespace extensions | 493 } // namespace extensions |
OLD | NEW |