Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Side by Side Diff: ppapi/cpp/dev/url_util_dev.cc

Issue 6623043: Pepper: spelling correction: Resove -> Resolve (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/dev/url_util_dev.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common.h" 7 #include "ppapi/cpp/common.h"
8 #include "ppapi/cpp/instance.h" 8 #include "ppapi/cpp/instance.h"
9 #include "ppapi/cpp/module.h" 9 #include "ppapi/cpp/module.h"
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 Var URLUtil_Dev::ResolveRelativeToURL(const Var& base_url, 35 Var URLUtil_Dev::ResolveRelativeToURL(const Var& base_url,
36 const Var& relative_string, 36 const Var& relative_string,
37 PP_URLComponents_Dev* components) const { 37 PP_URLComponents_Dev* components) const {
38 return Var(Var::PassRef(), 38 return Var(Var::PassRef(),
39 interface_->ResolveRelativeToURL(base_url.pp_var(), 39 interface_->ResolveRelativeToURL(base_url.pp_var(),
40 relative_string.pp_var(), 40 relative_string.pp_var(),
41 components)); 41 components));
42 } 42 }
43 43
44 Var URLUtil_Dev::ResoveRelativeToDocument( 44 Var URLUtil_Dev::ResolveRelativeToDocument(
45 const Instance& instance, 45 const Instance& instance,
46 const Var& relative_string, 46 const Var& relative_string,
47 PP_URLComponents_Dev* components) const { 47 PP_URLComponents_Dev* components) const {
48 return Var(Var::PassRef(), 48 return Var(Var::PassRef(),
49 interface_->ResolveRelativeToDocument(instance.pp_instance(), 49 interface_->ResolveRelativeToDocument(instance.pp_instance(),
50 relative_string.pp_var(), 50 relative_string.pp_var(),
51 components)); 51 components));
52 } 52 }
53 53
54 bool URLUtil_Dev::IsSameSecurityOrigin(const Var& url_a, 54 bool URLUtil_Dev::IsSameSecurityOrigin(const Var& url_a,
(...skipping 15 matching lines...) Expand all
70 target.pp_instance())); 70 target.pp_instance()));
71 } 71 }
72 72
73 Var URLUtil_Dev::GetDocumentURL(const Instance& instance, 73 Var URLUtil_Dev::GetDocumentURL(const Instance& instance,
74 PP_URLComponents_Dev* components) const { 74 PP_URLComponents_Dev* components) const {
75 return Var(Var::PassRef(), 75 return Var(Var::PassRef(),
76 interface_->GetDocumentURL(instance.pp_instance(), components)); 76 interface_->GetDocumentURL(instance.pp_instance(), components));
77 } 77 }
78 78
79 } // namespace pp 79 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/url_util_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698