| 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 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
| 12 #include "ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
| 13 | 13 |
| 14 #define PPB_URLUTIL_DEV_INTERFACE "PPB_URLUtil(Dev);0.6" | 14 #define PPB_URLUTIL_DEV_INTERFACE_0_6 "PPB_URLUtil(Dev);0.6" |
| 15 #define PPB_URLUTIL_DEV_INTERFACE PPB_URLUTIL_DEV_INTERFACE_0_6 |
| 15 | 16 |
| 16 // A component specifies the range of the part of the URL. The begin specifies | 17 // A component specifies the range of the part of the URL. The begin specifies |
| 17 // the index into the string of the first character of that component. The len | 18 // the index into the string of the first character of that component. The len |
| 18 // specifies the length of that component. | 19 // specifies the length of that component. |
| 19 // | 20 // |
| 20 // This range does not include any special delimiter for that component, so | 21 // This range does not include any special delimiter for that component, so |
| 21 // the scheme doesn't include the trailing colon, the username and password | 22 // the scheme doesn't include the trailing colon, the username and password |
| 22 // don't include the @ and :, the port doesn't include the colon, the query | 23 // don't include the @ and :, the port doesn't include the colon, the query |
| 23 // doesn't include the ?, and the ref doesn't include the #. | 24 // doesn't include the ?, and the ref doesn't include the #. |
| 24 // | 25 // |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // <object> element. | 126 // <object> element. |
| 126 // The components pointer, if non-NULL and the canonicalized URL is valid, | 127 // The components pointer, if non-NULL and the canonicalized URL is valid, |
| 127 // will identify the components of the resulting URL. Components may be NULL | 128 // will identify the components of the resulting URL. Components may be NULL |
| 128 // to specify that no component information is necessary. | 129 // to specify that no component information is necessary. |
| 129 struct PP_Var (*GetPluginInstanceURL)( | 130 struct PP_Var (*GetPluginInstanceURL)( |
| 130 PP_Instance instance, struct PP_URLComponents_Dev* components); | 131 PP_Instance instance, struct PP_URLComponents_Dev* components); |
| 131 }; | 132 }; |
| 132 | 133 |
| 133 #endif /* PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ */ | 134 #endif /* PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ */ |
| 134 | 135 |
| OLD | NEW |