OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/chromeos/extensions/file_manager/private_api_file_syste m.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_file_syste m.h" |
6 | 6 |
7 #include <sys/statvfs.h> | 7 #include <sys/statvfs.h> |
8 | 8 |
9 #include "base/metrics/histogram.h" | |
Ilya Sherman
2014/10/09 04:44:51
nit: Is this needed?
mtomasz
2014/10/14 04:46:00
Done.
| |
9 #include "base/posix/eintr_wrapper.h" | 10 #include "base/posix/eintr_wrapper.h" |
10 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
12 #include "base/task_runner_util.h" | 13 #include "base/task_runner_util.h" |
13 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
14 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/chromeos/drive/drive.pb.h" | 16 #include "chrome/browser/chromeos/drive/drive.pb.h" |
16 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 17 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
17 #include "chrome/browser/chromeos/drive/file_system_util.h" | 18 #include "chrome/browser/chromeos/drive/file_system_util.h" |
18 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" | 19 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
665 "/" + entry_definition_list->at(i).full_path.AsUTF8Unsafe(); | 666 "/" + entry_definition_list->at(i).full_path.AsUTF8Unsafe(); |
666 entry->file_is_directory = entry_definition_list->at(i).is_directory; | 667 entry->file_is_directory = entry_definition_list->at(i).is_directory; |
667 entries.push_back(entry); | 668 entries.push_back(entry); |
668 } | 669 } |
669 | 670 |
670 results_ = extensions::api::file_manager_private_internal:: | 671 results_ = extensions::api::file_manager_private_internal:: |
671 ResolveIsolatedEntries::Results::Create(entries); | 672 ResolveIsolatedEntries::Results::Create(entries); |
672 SendResponse(true); | 673 SendResponse(true); |
673 } | 674 } |
674 } // namespace extensions | 675 } // namespace extensions |
OLD | NEW |