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

Unified Diff: base/string_number_conversions.h

Issue 10699040: Relaunch Chrome in metro-mode with the help of a helper process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | base/string_number_conversions.cc » ('j') | chrome/browser/first_run/upgrade_util_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_number_conversions.h
diff --git a/base/string_number_conversions.h b/base/string_number_conversions.h
index 54f05b0954327dfdc2c91404a77b7973b079f58c..92f8f25b5f48ebb7a2df378cb82fd55da75fc7a0 100644
--- a/base/string_number_conversions.h
+++ b/base/string_number_conversions.h
@@ -41,6 +41,9 @@ BASE_EXPORT string16 Int64ToString16(int64 value);
BASE_EXPORT std::string Uint64ToString(uint64 value);
BASE_EXPORT string16 Uint64ToString16(uint64 value);
+BASE_EXPORT std::string PointerToString(void* value);
+BASE_EXPORT string16 PointerToString16(void* value);
+
// DoubleToString converts the double to a string format that ignores the
// locale. If you want to use locale specific formatting, use ICU.
BASE_EXPORT std::string DoubleToString(double value);
@@ -71,6 +74,9 @@ BASE_EXPORT bool StringToInt64(const StringPiece16& input, int64* output);
BASE_EXPORT bool StringToUint64(const StringPiece& input, uint64* output);
BASE_EXPORT bool StringToUint64(const StringPiece16& input, uint64* output);
+BASE_EXPORT bool StringToPointer(const StringPiece& input, void** output);
+BASE_EXPORT bool StringToPointer(const StringPiece16& input, void** output);
+
BASE_EXPORT bool StringToSizeT(const StringPiece& input, size_t* output);
BASE_EXPORT bool StringToSizeT(const StringPiece16& input, size_t* output);
« no previous file with comments | « no previous file | base/string_number_conversions.cc » ('j') | chrome/browser/first_run/upgrade_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698