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, |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include <time.h> | 22 #include <time.h> |
23 | 23 |
24 #include <string> | 24 #include <string> |
25 #include <vector> | 25 #include <vector> |
26 | 26 |
27 #include "base/basictypes.h" | 27 #include "base/basictypes.h" |
28 #include "base/files/file_path.h" | 28 #include "base/files/file_path.h" |
29 #include "base/logging.h" | 29 #include "base/logging.h" |
30 #include "base/memory/scoped_ptr.h" | 30 #include "base/memory/scoped_ptr.h" |
31 #include "base/numerics/safe_conversions.h" | 31 #include "base/numerics/safe_conversions.h" |
32 #include "base/strings/string_util.h" | |
33 #include "base/strings/utf_string_conversions.h" | 32 #include "base/strings/utf_string_conversions.h" |
34 #include "build/build_config.h" | 33 #include "build/build_config.h" |
35 #include "client/crash_report_database.h" | 34 #include "client/crash_report_database.h" |
36 #include "client/settings.h" | 35 #include "client/settings.h" |
37 #include "tools/tool_support.h" | 36 #include "tools/tool_support.h" |
38 #include "util/file/file_io.h" | 37 #include "util/file/file_io.h" |
39 #include "util/file/file_reader.h" | 38 #include "util/file/file_reader.h" |
40 #include "util/misc/uuid.h" | 39 #include "util/misc/uuid.h" |
41 | 40 |
42 namespace crashpad { | 41 namespace crashpad { |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 | 573 |
575 #if defined(OS_POSIX) | 574 #if defined(OS_POSIX) |
576 int main(int argc, char* argv[]) { | 575 int main(int argc, char* argv[]) { |
577 return crashpad::DatabaseUtilMain(argc, argv); | 576 return crashpad::DatabaseUtilMain(argc, argv); |
578 } | 577 } |
579 #elif defined(OS_WIN) | 578 #elif defined(OS_WIN) |
580 int wmain(int argc, wchar_t* argv[]) { | 579 int wmain(int argc, wchar_t* argv[]) { |
581 return crashpad::ToolSupport::Wmain(argc, argv, crashpad::DatabaseUtilMain); | 580 return crashpad::ToolSupport::Wmain(argc, argv, crashpad::DatabaseUtilMain); |
582 } | 581 } |
583 #endif // OS_POSIX | 582 #endif // OS_POSIX |
OLD | NEW |