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

Unified Diff: chrome/browser/renderer_host/render_view_host.h

Issue 192017: Convert std::wstring encoding names to std::string in a bunch of files. (Closed)
Patch Set: mac and linux fixes Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_view_host.h
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index 0fe33e89db5d0080cc6c20577211f9c7da9e5b8a..f733f7b270eb3c02e5c4136eb49f26dd959f9fbf 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -221,7 +221,7 @@ class RenderViewHost : public RenderWidgetHost,
void Zoom(PageZoom::Function function);
// Change the encoding of the page.
- void SetPageEncoding(const std::wstring& encoding);
+ void SetPageEncoding(const std::string& encoding);
// Change the alternate error page URL. An empty GURL disables the use of
// alternate error pages.
@@ -458,7 +458,7 @@ class RenderViewHost : public RenderWidgetHost,
void OnMsgUpdateState(int32 page_id,
const std::string& state);
void OnMsgUpdateTitle(int32 page_id, const std::wstring& title);
- void OnMsgUpdateEncoding(const std::wstring& encoding);
+ void OnMsgUpdateEncoding(const std::string& encoding);
void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
void OnMsgThumbnail(const GURL& url,
const ThumbnailScore& score,
« no previous file with comments | « chrome/browser/parsers/metadata_parser_filebase.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698