OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 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, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #include "client/crash_report_database.h" | 15 #include "client/crash_report_database.h" |
16 | 16 |
| 17 #include <windows.h> |
| 18 #include <stdint.h> |
17 #include <string.h> | 19 #include <string.h> |
| 20 #include <sys/types.h> |
18 #include <time.h> | 21 #include <time.h> |
19 #include <windows.h> | 22 #include <wchar.h> |
20 | 23 |
21 #include <utility> | 24 #include <utility> |
22 | 25 |
23 #include "base/logging.h" | 26 #include "base/logging.h" |
24 #include "base/numerics/safe_math.h" | 27 #include "base/numerics/safe_math.h" |
25 #include "base/strings/string16.h" | 28 #include "base/strings/string16.h" |
26 #include "base/strings/stringprintf.h" | 29 #include "base/strings/stringprintf.h" |
27 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
28 #include "client/settings.h" | 31 #include "client/settings.h" |
29 #include "util/misc/initialization_state_dcheck.h" | 32 #include "util/misc/initialization_state_dcheck.h" |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 return InitializeInternal(path, true); | 838 return InitializeInternal(path, true); |
836 } | 839 } |
837 | 840 |
838 // static | 841 // static |
839 scoped_ptr<CrashReportDatabase> CrashReportDatabase::InitializeWithoutCreating( | 842 scoped_ptr<CrashReportDatabase> CrashReportDatabase::InitializeWithoutCreating( |
840 const base::FilePath& path) { | 843 const base::FilePath& path) { |
841 return InitializeInternal(path, false); | 844 return InitializeInternal(path, false); |
842 } | 845 } |
843 | 846 |
844 } // namespace crashpad | 847 } // namespace crashpad |
OLD | NEW |