| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/memory/weak_ptr.h" | 6 #include "base/memory/weak_ptr.h" |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "webkit/chromeos/fileapi/memory_file_util.h" | 8 #include "webkit/chromeos/fileapi/memory_file_util.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 const OpenCallback& callback, | 577 const OpenCallback& callback, |
| 578 PlatformFileError result) { | 578 PlatformFileError result) { |
| 579 if (result != base::PLATFORM_FILE_OK) { | 579 if (result != base::PLATFORM_FILE_OK) { |
| 580 callback.Run(result, NULL); | 580 callback.Run(result, NULL); |
| 581 return; | 581 return; |
| 582 } | 582 } |
| 583 | 583 |
| 584 OpenVerifiedFile(file_path, flags, callback); | 584 OpenVerifiedFile(file_path, flags, callback); |
| 585 } | 585 } |
| 586 | 586 |
| 587 } // namespace file_api | 587 } // namespace fileapi |
| OLD | NEW |