| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "device/time_zone_monitor/time_zone_monitor.h" | 5 #include "services/device/time_zone_monitor/time_zone_monitor.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "ui/gfx/win/singleton_hwnd_observer.h" | 14 #include "ui/gfx/win/singleton_hwnd_observer.h" |
| 15 | 15 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 39 DISALLOW_COPY_AND_ASSIGN(TimeZoneMonitorWin); | 39 DISALLOW_COPY_AND_ASSIGN(TimeZoneMonitorWin); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 // static | 42 // static |
| 43 std::unique_ptr<TimeZoneMonitor> TimeZoneMonitor::Create( | 43 std::unique_ptr<TimeZoneMonitor> TimeZoneMonitor::Create( |
| 44 scoped_refptr<base::SequencedTaskRunner> file_task_runner) { | 44 scoped_refptr<base::SequencedTaskRunner> file_task_runner) { |
| 45 return std::unique_ptr<TimeZoneMonitor>(new TimeZoneMonitorWin()); | 45 return std::unique_ptr<TimeZoneMonitor>(new TimeZoneMonitorWin()); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace device | 48 } // namespace device |
| OLD | NEW |