OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/app/shell_breakpad_client.h" | 5 #include "content/shell/app/shell_breakpad_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 void ShellBreakpadClient::GetProductNameAndVersion( | 23 void ShellBreakpadClient::GetProductNameAndVersion( |
24 const base::FilePath& exe_path, | 24 const base::FilePath& exe_path, |
25 base::string16* product_name, | 25 base::string16* product_name, |
26 base::string16* version, | 26 base::string16* version, |
27 base::string16* special_build, | 27 base::string16* special_build, |
28 base::string16* channel_name) { | 28 base::string16* channel_name) { |
29 *product_name = ASCIIToUTF16("content_shell"); | 29 *product_name = ASCIIToUTF16("content_shell"); |
30 *version = ASCIIToUTF16(CONTENT_SHELL_VERSION); | 30 *version = ASCIIToUTF16(CONTENT_SHELL_VERSION); |
31 *special_build = string16(); | 31 *special_build = base::string16(); |
32 *channel_name = string16(); | 32 *channel_name = base::string16(); |
33 } | 33 } |
34 #endif | 34 #endif |
35 | 35 |
36 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) | 36 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |
37 void ShellBreakpadClient::GetProductNameAndVersion(std::string* product_name, | 37 void ShellBreakpadClient::GetProductNameAndVersion(std::string* product_name, |
38 std::string* version) { | 38 std::string* version) { |
39 *product_name = "content_shell"; | 39 *product_name = "content_shell"; |
40 *version = CONTENT_SHELL_VERSION; | 40 *version = CONTENT_SHELL_VERSION; |
41 } | 41 } |
42 | 42 |
(...skipping 10 matching lines...) Expand all Loading... |
53 return true; | 53 return true; |
54 } | 54 } |
55 | 55 |
56 #if defined(OS_ANDROID) | 56 #if defined(OS_ANDROID) |
57 int ShellBreakpadClient::GetAndroidMinidumpDescriptor() { | 57 int ShellBreakpadClient::GetAndroidMinidumpDescriptor() { |
58 return kAndroidMinidumpDescriptor; | 58 return kAndroidMinidumpDescriptor; |
59 } | 59 } |
60 #endif | 60 #endif |
61 | 61 |
62 } // namespace content | 62 } // namespace content |
OLD | NEW |