| 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/shared_impl/url_util_impl.h" | 5 #include "ppapi/shared_impl/url_util_impl.h" |
| 6 | 6 |
| 7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
| 8 #include "ppapi/shared_impl/ppapi_globals.h" | 8 #include "ppapi/shared_impl/ppapi_globals.h" |
| 9 #include "ppapi/shared_impl/var.h" | 9 #include "ppapi/shared_impl/var.h" |
| 10 #include "ppapi/shared_impl/var_tracker.h" | 10 #include "ppapi/shared_impl/var_tracker.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 StringVar* url_string = StringVar::FromPPVar(url); | 104 StringVar* url_string = StringVar::FromPPVar(url); |
| 105 if (!url_string) | 105 if (!url_string) |
| 106 return url; | 106 return url; |
| 107 | 107 |
| 108 PP_Var result = Canonicalize(url, components); | 108 PP_Var result = Canonicalize(url, components); |
| 109 PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(url); | 109 PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(url); |
| 110 return result; | 110 return result; |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace ppapi | 113 } // namespace ppapi |
| OLD | NEW |