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

Side by Side Diff: snapshot/system_snapshot.h

Issue 936333004: win: Add implementation of system_snapshot for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@add-time-win
Patch Set: fixes Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « snapshot/snapshot.gyp ('k') | snapshot/win/process_reader_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « snapshot/snapshot.gyp ('k') | snapshot/win/process_reader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698