Index: ppapi/shared_impl/time_conversion.h |
diff --git a/ppapi/shared_impl/time_conversion.h b/ppapi/shared_impl/time_conversion.h |
index 0acd39e6fd8906e8036229c0d8aac20c116bed9b..e20d80910f306d37aaf146fbd973310837fbf460 100644 |
--- a/ppapi/shared_impl/time_conversion.h |
+++ b/ppapi/shared_impl/time_conversion.h |
@@ -23,6 +23,11 @@ PPAPI_SHARED_EXPORT PP_TimeTicks TimeTicksToPPTimeTicks(base::TimeTicks t); |
PPAPI_SHARED_EXPORT PP_TimeTicks EventTimeToPPTimeTicks(double event_time); |
PPAPI_SHARED_EXPORT double PPTimeTicksToEventTime(PP_TimeTicks t); |
+// Gets the local time zone offset for a given time. This works in the plugin |
+// process only on Windows (the sandbox prevents this from working properly on |
+// other platforms). |
+PPAPI_SHARED_EXPORT double PPGetLocalTimeZoneOffset(const base::Time& time); |
+ |
} // namespace ppapi |
#endif // PPAPI_SHARED_IMPL_TIME_CONVERSION_H_ |