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/chromeos/file_system_provider/operations/read_directory
.h" | 5 #include "chrome/browser/chromeos/file_system_provider/operations/read_directory
.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
10 #include "chrome/browser/chromeos/file_system_provider/operations/get_metadata.h
" | 12 #include "chrome/browser/chromeos/file_system_provider/operations/get_metadata.h
" |
11 #include "chrome/common/extensions/api/file_system_provider.h" | 13 #include "chrome/common/extensions/api/file_system_provider.h" |
12 #include "chrome/common/extensions/api/file_system_provider_internal.h" | 14 #include "chrome/common/extensions/api/file_system_provider_internal.h" |
13 | 15 |
14 namespace chromeos { | 16 namespace chromeos { |
15 namespace file_system_provider { | 17 namespace file_system_provider { |
16 namespace operations { | 18 namespace operations { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void ReadDirectory::OnError(int /* request_id */, | 107 void ReadDirectory::OnError(int /* request_id */, |
106 scoped_ptr<RequestValue> /* result */, | 108 scoped_ptr<RequestValue> /* result */, |
107 base::File::Error error) { | 109 base::File::Error error) { |
108 callback_.Run( | 110 callback_.Run( |
109 error, storage::AsyncFileUtil::EntryList(), false /* has_more */); | 111 error, storage::AsyncFileUtil::EntryList(), false /* has_more */); |
110 } | 112 } |
111 | 113 |
112 } // namespace operations | 114 } // namespace operations |
113 } // namespace file_system_provider | 115 } // namespace file_system_provider |
114 } // namespace chromeos | 116 } // namespace chromeos |
OLD | NEW |