Chromium Code Reviews

Unified Diff: base/value_conversions.h

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
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
« no previous file with comments | « base/trace_event/trace_event_memory_overhead.cc ('k') | base/value_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/value_conversions.h
diff --git a/base/value_conversions.h b/base/value_conversions.h
index 6ce1bff27e4d23f4ba096f348172cb542d64ac3c..8a464ab4b725974831ec543d6ee07e12667f01ee 100644
--- a/base/value_conversions.h
+++ b/base/value_conversions.h
@@ -15,13 +15,12 @@ namespace base {
class FilePath;
class TimeDelta;
class Value;
-using StringValue = Value;
// The caller takes ownership of the returned value.
-BASE_EXPORT StringValue* CreateFilePathValue(const FilePath& in_value);
+BASE_EXPORT Value* CreateFilePathValue(const FilePath& in_value);
BASE_EXPORT bool GetValueAsFilePath(const Value& value, FilePath* file_path);
-BASE_EXPORT StringValue* CreateTimeDeltaValue(const TimeDelta& time);
+BASE_EXPORT Value* CreateTimeDeltaValue(const TimeDelta& time);
BASE_EXPORT bool GetValueAsTimeDelta(const Value& value, TimeDelta* time);
} // namespace base
« no previous file with comments | « base/trace_event/trace_event_memory_overhead.cc ('k') | base/value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine