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

Unified Diff: src/base/platform/platform.h

Issue 2731463003: [date] Refactor TimezoneCache to be separate from the OS (Closed)
Patch Set: Properly reference windows function Created 3 years, 10 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 | « BUILD.gn ('k') | src/base/platform/platform-aix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform.h
diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h
index 374cddfc0c39c989adce633cda4c33ca07acdbb9..018d9e7a9c74ca203bd6de7c44a530dcf7ded276 100644
--- a/src/base/platform/platform.h
+++ b/src/base/platform/platform.h
@@ -124,19 +124,6 @@ class V8_BASE_EXPORT OS {
static double TimeCurrentMillis();
static TimezoneCache* CreateTimezoneCache();
- static void DisposeTimezoneCache(TimezoneCache* cache);
- static void ClearTimezoneCache(TimezoneCache* cache);
-
- // Returns a string identifying the current time zone. The
- // timestamp is used for determining if DST is in effect.
- static const char* LocalTimezone(double time, TimezoneCache* cache);
-
- // Returns the local time offset in milliseconds east of UTC without
- // taking daylight savings time into account.
- static double LocalTimeOffset(TimezoneCache* cache);
-
- // Returns the daylight savings offset for the given time.
- static double DaylightSavingsOffset(double time, TimezoneCache* cache);
// Returns last OS error.
static int GetLastError();
« no previous file with comments | « BUILD.gn ('k') | src/base/platform/platform-aix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698