| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/pepper/ppb_file_ref_impl.h" | 5 #include "content/renderer/pepper/ppb_file_ref_impl.h" |
| 6 | 6 |
| 7 #include "base/files/file_util_proxy.h" | 7 #include "base/files/file_util_proxy.h" |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 if (!resource || !ppapi_host) | 546 if (!resource || !ppapi_host) |
| 547 return NULL; | 547 return NULL; |
| 548 ppapi::host::ResourceHost* resource_host = | 548 ppapi::host::ResourceHost* resource_host = |
| 549 ppapi_host->GetResourceHost(resource); | 549 ppapi_host->GetResourceHost(resource); |
| 550 if (resource_host && resource_host->IsFileSystemHost()) | 550 if (resource_host && resource_host->IsFileSystemHost()) |
| 551 return static_cast<PepperFileSystemHost*>(resource_host); | 551 return static_cast<PepperFileSystemHost*>(resource_host); |
| 552 return NULL; | 552 return NULL; |
| 553 } | 553 } |
| 554 | 554 |
| 555 } // namespace content | 555 } // namespace content |
| OLD | NEW |