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 "ppapi/cpp/dev/url_util_dev.h" | 5 #include "ppapi/cpp/dev/url_util_dev.h" |
6 | 6 |
7 #include "ppapi/cpp/instance_handle.h" | 7 #include "ppapi/cpp/instance_handle.h" |
8 #include "ppapi/cpp/module.h" | 8 #include "ppapi/cpp/module.h" |
9 | 9 |
10 namespace pp { | 10 namespace pp { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 interface_->GetDocumentURL(instance.pp_instance(), components)); | 75 interface_->GetDocumentURL(instance.pp_instance(), components)); |
76 } | 76 } |
77 | 77 |
78 Var URLUtil_Dev::GetPluginInstanceURL(const InstanceHandle& instance, | 78 Var URLUtil_Dev::GetPluginInstanceURL(const InstanceHandle& instance, |
79 PP_URLComponents_Dev* components) const { | 79 PP_URLComponents_Dev* components) const { |
80 return Var(PASS_REF, | 80 return Var(PASS_REF, |
81 interface_->GetPluginInstanceURL(instance.pp_instance(), | 81 interface_->GetPluginInstanceURL(instance.pp_instance(), |
82 components)); | 82 components)); |
83 } | 83 } |
84 | 84 |
| 85 Var URLUtil_Dev::GetPluginRefererURL(const InstanceHandle& instance, |
| 86 PP_URLComponents_Dev* components) const { |
| 87 return Var(PASS_REF, |
| 88 interface_->GetPluginRefererURL(instance.pp_instance(), |
| 89 components)); |
| 90 } |
| 91 |
85 } // namespace pp | 92 } // namespace pp |
OLD | NEW |