Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginUtil.h

Issue 4899473029332992: Noissue - Remove dead code (Closed)
Patch Set: remove more #include directives Created March 20, 2015, 9:05 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginUserSettings.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.h
===================================================================
--- a/src/plugin/PluginUtil.h
+++ b/src/plugin/PluginUtil.h
@@ -22,4 +22,15 @@
std::wstring UserSettingsFileUrl();
std::wstring FirstRunPageFileUrl();
std::wstring FileUrl(const std::wstring& url);
-std::wstring GetLocationUrl(IWebBrowser2& browser);
+std::wstring GetLocationUrl(IWebBrowser2& browser);
+
+/**
+ * Wrapper around Microsoft API 'UrlUnescape'
+ *
+ * This function has modify-in-place semantics.
+ * This behavior matches that of the legacy version of this function declared above.
+ * At present, callers of this function have no code to handle error conditions that might arise here.
+ * Because there's no error handling, therefore, this masks failures in UrlUnescape.
+ */
+void UnescapeUrl(std::wstring& url);
+
« no previous file with comments | « src/plugin/PluginUserSettings.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld