OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Windows specific yime functions. | 5 // Windows specific yime functions. |
6 | 6 |
7 #include <time.h> | 7 #include <time.h> |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "chrome/browser/sync/notifier/base/time.h" | 10 #include "chrome/browser/sync/notifier/base/time.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 if (!::SystemTimeToTzSpecificLocalTime(&time_zone, &local_time, &utc_time)) { | 148 if (!::SystemTimeToTzSpecificLocalTime(&time_zone, &local_time, &utc_time)) { |
149 return false; | 149 return false; |
150 } | 150 } |
151 | 151 |
152 SystemTimeToTmTime(utc_time, tm); | 152 SystemTimeToTmTime(utc_time, tm); |
153 | 153 |
154 return true; | 154 return true; |
155 } | 155 } |
156 | 156 |
157 } // namespace notifier | 157 } // namespace notifier |
OLD | NEW |