OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/child_process_logging.h" | 5 #include "chrome/common/child_process_logging.h" |
6 | 6 |
7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/common/gpu_info.h" | |
11 #include "chrome/installer/util/google_update_settings.h" | 10 #include "chrome/installer/util/google_update_settings.h" |
| 11 #include "content/common/gpu_info.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 | 13 |
14 namespace child_process_logging { | 14 namespace child_process_logging { |
15 | 15 |
16 // Account for the terminating null character. | 16 // Account for the terminating null character. |
17 static const size_t kMaxActiveURLSize = 1024 + 1; | 17 static const size_t kMaxActiveURLSize = 1024 + 1; |
18 static const size_t kClientIdSize = 32 + 1; | 18 static const size_t kClientIdSize = 32 + 1; |
19 | 19 |
20 // We use static strings to hold the most recent active url and the client | 20 // We use static strings to hold the most recent active url and the client |
21 // identifier. If we crash, the crash handler code will send the contents of | 21 // identifier. If we crash, the crash handler code will send the contents of |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 strncpy(g_gpu_vs_ver, | 69 strncpy(g_gpu_vs_ver, |
70 base::UintToString(gpu_info.vertex_shader_version).c_str(), | 70 base::UintToString(gpu_info.vertex_shader_version).c_str(), |
71 kGpuStringSize); | 71 kGpuStringSize); |
72 } | 72 } |
73 | 73 |
74 void SetNumberOfViews(int number_of_views) { | 74 void SetNumberOfViews(int number_of_views) { |
75 // TODO(port) | 75 // TODO(port) |
76 } | 76 } |
77 | 77 |
78 } // namespace child_process_logging | 78 } // namespace child_process_logging |
OLD | NEW |