| OLD | NEW |
| 1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
| 5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
| 6 // | 6 // |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 // | 8 // |
| 9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 public: | 31 public: |
| 32 virtual ~SystemSnapshot() {} | 32 virtual ~SystemSnapshot() {} |
| 33 | 33 |
| 34 //! \brief A system’s operating system family. | 34 //! \brief A system’s operating system family. |
| 35 enum OperatingSystem { | 35 enum OperatingSystem { |
| 36 //! \brief The snapshot system’s operating system is unknown. | 36 //! \brief The snapshot system’s operating system is unknown. |
| 37 kOperatingSystemUnknown = 0, | 37 kOperatingSystemUnknown = 0, |
| 38 | 38 |
| 39 //! \brief Mac OS X. | 39 //! \brief Mac OS X. |
| 40 kOperatingSystemMacOSX, | 40 kOperatingSystemMacOSX, |
| 41 |
| 42 //! \brief Windows. |
| 43 kOperatingSystemWindows, |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 //! \brief A system’s daylight saving time status. | 46 //! \brief A system’s daylight saving time status. |
| 44 //! | 47 //! |
| 45 //! The daylight saving time status is taken partially from the system’s | 48 //! The daylight saving time status is taken partially from the system’s |
| 46 //! locale configuration. This determines whether daylight saving time is | 49 //! locale configuration. This determines whether daylight saving time is |
| 47 //! ever observed on the system. If it is, the snapshot’s time | 50 //! ever observed on the system. If it is, the snapshot’s time |
| 48 //! (ProcessSnapshot::SnapshotTime()) is used to determine whether the system | 51 //! (ProcessSnapshot::SnapshotTime()) is used to determine whether the system |
| 49 //! was observing daylight saving time at the time of the snapshot. | 52 //! was observing daylight saving time at the time of the snapshot. |
| 50 enum DaylightSavingTimeStatus { | 53 enum DaylightSavingTimeStatus { |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 virtual void TimeZone(DaylightSavingTimeStatus* observes_daylight, | 261 virtual void TimeZone(DaylightSavingTimeStatus* observes_daylight, |
| 259 int* standard_offset_seconds, | 262 int* standard_offset_seconds, |
| 260 int* daylight_offset_seconds, | 263 int* daylight_offset_seconds, |
| 261 std::string* standard_name, | 264 std::string* standard_name, |
| 262 std::string* daylight_name) const = 0; | 265 std::string* daylight_name) const = 0; |
| 263 }; | 266 }; |
| 264 | 267 |
| 265 } // namespace crashpad | 268 } // namespace crashpad |
| 266 | 269 |
| 267 #endif // CRASHPAD_SNAPSHOT_SYSTEM_SNAPSHOT_H_ | 270 #endif // CRASHPAD_SNAPSHOT_SYSTEM_SNAPSHOT_H_ |
| OLD | NEW |