OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/drive/fake_file_system.h" | 5 #include "components/drive/fake_file_system.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/callback.h" | 9 #include "base/callback.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "components/drive/drive.pb.h" | 13 #include "components/drive/drive.pb.h" |
14 #include "components/drive/file_errors.h" | 14 #include "components/drive/file_errors.h" |
15 #include "components/drive/file_system_core_util.h" | 15 #include "components/drive/file_system_core_util.h" |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 callback.Run(FILE_ERROR_OK, entry.Pass()); | 411 callback.Run(FILE_ERROR_OK, entry.Pass()); |
412 return; | 412 return; |
413 } | 413 } |
414 } | 414 } |
415 | 415 |
416 callback.Run(FILE_ERROR_NOT_FOUND, scoped_ptr<ResourceEntry>()); | 416 callback.Run(FILE_ERROR_NOT_FOUND, scoped_ptr<ResourceEntry>()); |
417 } | 417 } |
418 | 418 |
419 } // namespace test_util | 419 } // namespace test_util |
420 } // namespace drive | 420 } // namespace drive |
OLD | NEW |