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 "content/browser/time_zone_monitor.h" | 5 #include "content/browser/time_zone_monitor.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <stdlib.h> | 8 #include <stdlib.h> |
8 | 9 |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/basictypes.h" | |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/files/file_path_watcher.h" | 14 #include "base/files/file_path_watcher.h" |
| 15 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
| 18 #include "build/build_config.h" |
17 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
18 | 20 |
19 #if !defined(OS_CHROMEOS) | 21 #if !defined(OS_CHROMEOS) |
20 | 22 |
21 namespace content { | 23 namespace content { |
22 | 24 |
23 namespace { | 25 namespace { |
24 class TimeZoneMonitorLinuxImpl; | 26 class TimeZoneMonitorLinuxImpl; |
25 } // namespace | 27 } // namespace |
26 | 28 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 159 } |
158 | 160 |
159 // static | 161 // static |
160 scoped_ptr<TimeZoneMonitor> TimeZoneMonitor::Create() { | 162 scoped_ptr<TimeZoneMonitor> TimeZoneMonitor::Create() { |
161 return scoped_ptr<TimeZoneMonitor>(new TimeZoneMonitorLinux()); | 163 return scoped_ptr<TimeZoneMonitor>(new TimeZoneMonitorLinux()); |
162 } | 164 } |
163 | 165 |
164 } // namespace content | 166 } // namespace content |
165 | 167 |
166 #endif // !OS_CHROMEOS | 168 #endif // !OS_CHROMEOS |
OLD | NEW |