diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 01:56:32 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 01:56:32 +0000 |
commit | f6b4853153c6be7a7ce092d4c5f3172c022da561 (patch) | |
tree | 99f03bfa0866d1441f37f979d88c82f3fb51180f /webkit/glue/dom_serializer.h | |
parent | 5e5136c2a2fc497ada68dadfacfd9068ee22f36f (diff) | |
download | chromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.zip chromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.tar.gz chromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.tar.bz2 |
Change url wstrings to GURLS
Review URL: http://codereview.chromium.org/20273
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_serializer.h')
-rw-r--r-- | webkit/glue/dom_serializer.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/webkit/glue/dom_serializer.h b/webkit/glue/dom_serializer.h index bfe8c43..b8073c1 100644 --- a/webkit/glue/dom_serializer.h +++ b/webkit/glue/dom_serializer.h @@ -52,12 +52,12 @@ class DomSerializer { DomSerializer(WebFrame* webframe, bool recursive_serialization, DomSerializerDelegate* delegate, - const std::vector<std::wstring>& links, + const std::vector<GURL>& links, const std::vector<std::wstring>& local_paths, const std::wstring& local_directory_name); // Generate the MOTW declaration. - static std::wstring GenerateMarkOfTheWebDeclaration(const std::wstring& url); + static std::string GenerateMarkOfTheWebDeclaration(const GURL& url); // Generate the default base tag declaration. static std::wstring GenerateBaseTagDeclaration( const std::wstring& base_target); @@ -67,7 +67,7 @@ class DomSerializer { WebFrameImpl* specified_webframeimpl_; // This hash_map is used to map resource URL of original link to its local // file path. - typedef base::hash_map<std::wstring, std::wstring> LinkLocalPathMap; + typedef base::hash_map<std::string, std::wstring> LinkLocalPathMap; // local_links_ include all pair of local resource path and corresponding // original link. LinkLocalPathMap local_links_; @@ -90,8 +90,6 @@ class DomSerializer { struct SerializeDomParam { // Frame URL of current processing document presented by GURL const GURL& current_frame_gurl; - // Frame URL of current processing document presented by std::wstring. - const std::wstring& current_frame_wurl; // Current using text encoding object. const WebCore::TextEncoding& text_encoding; @@ -118,7 +116,6 @@ class DomSerializer { // Constructor. SerializeDomParam( const GURL& current_frame_gurl, - const std::wstring& current_frame_wurl, const WebCore::TextEncoding& text_encoding, WebCore::Document* doc, const std::wstring& directory_name); |