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

Unified Diff: chrome/common/plugin_messages.h

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/common/metrics_helpers.cc ('k') | chrome/test/automation/autocomplete_edit_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_messages.h
===================================================================
--- chrome/common/plugin_messages.h (revision 54340)
+++ chrome/common/plugin_messages.h (working copy)
@@ -15,6 +15,8 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/string_number_conversions.h"
+#include "base/utf_string_conversions.h"
#include "chrome/common/common_param_traits.h"
#include "chrome/common/webkit_param_traits.h"
#include "gfx/native_widget_types.h"
@@ -304,8 +306,8 @@
l->append(UTF8ToWide(str));
NPN_MemFree(str);
} else {
- l->append(IntToWString(
- WebKit::WebBindings::intFromIdentifier(p.identifier)));
+ l->append(UTF8ToWide(base::IntToString(
+ WebKit::WebBindings::intFromIdentifier(p.identifier))));
}
}
};
« no previous file with comments | « chrome/common/metrics_helpers.cc ('k') | chrome/test/automation/autocomplete_edit_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698