| 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_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ |
| 6 #define PPAPI_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "ppapi/c/dev/ppb_url_util_dev.h" | 10 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| 12 #include "ppapi/c/pp_var.h" | 11 #include "ppapi/c/pp_var.h" |
| 13 #include "ppapi/shared_impl/ppapi_shared_export.h" | 12 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 14 #include "url/third_party/mozilla/url_parse.h" | 13 #include "url/third_party/mozilla/url_parse.h" |
| 15 | 14 |
| 16 class GURL; | 15 class GURL; |
| 17 | 16 |
| 18 namespace ppapi { | 17 namespace ppapi { |
| 19 | 18 |
| 20 // Contains the implementation of PPB_URLUtil that is shared between the proxy | 19 // Contains the implementation of PPB_URLUtil that is shared between the proxy |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 // and the data isn't often requested by plugins. This function is used on | 40 // and the data isn't often requested by plugins. This function is used on |
| 42 // the plugin side to fill in the components for those cases where it's | 41 // the plugin side to fill in the components for those cases where it's |
| 43 // actually needed. | 42 // actually needed. |
| 44 static PP_Var ConvertComponentsAndReturnURL(const PP_Var& url, | 43 static PP_Var ConvertComponentsAndReturnURL(const PP_Var& url, |
| 45 PP_URLComponents_Dev* components); | 44 PP_URLComponents_Dev* components); |
| 46 }; | 45 }; |
| 47 | 46 |
| 48 } // namespace ppapi | 47 } // namespace ppapi |
| 49 | 48 |
| 50 #endif // PPAPI_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ | 49 #endif // PPAPI_SHARED_IMPL_PPB_URL_UTIL_SHARED_H_ |
| OLD | NEW |