| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "webkit/glue/plugins/pepper_file_ref.h" | 5 #include "webkit/glue/plugins/pepper_file_ref.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "third_party/ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
| 10 #include "webkit/glue/plugins/pepper_file_callbacks.h" | 10 #include "webkit/glue/plugins/pepper_file_callbacks.h" |
| 11 #include "webkit/glue/plugins/pepper_file_system.h" | 11 #include "webkit/glue/plugins/pepper_file_system.h" |
| 12 #include "webkit/glue/plugins/pepper_plugin_delegate.h" | 12 #include "webkit/glue/plugins/pepper_plugin_delegate.h" |
| 13 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 13 #include "webkit/glue/plugins/pepper_plugin_instance.h" |
| 14 #include "webkit/glue/plugins/pepper_plugin_module.h" | 14 #include "webkit/glue/plugins/pepper_plugin_module.h" |
| 15 #include "webkit/glue/plugins/pepper_var.h" | 15 #include "webkit/glue/plugins/pepper_var.h" |
| 16 | 16 |
| 17 namespace pepper { | 17 namespace pepper { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 #elif defined(OS_POSIX) | 322 #elif defined(OS_POSIX) |
| 323 virtual_path_.substr(1) | 323 virtual_path_.substr(1) |
| 324 #else | 324 #else |
| 325 #error "Unsupported platform." | 325 #error "Unsupported platform." |
| 326 #endif | 326 #endif |
| 327 ); | 327 ); |
| 328 return file_system_->root_path().Append(virtual_file_path); | 328 return file_system_->root_path().Append(virtual_file_path); |
| 329 } | 329 } |
| 330 | 330 |
| 331 } // namespace pepper | 331 } // namespace pepper |
| OLD | NEW |