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

Side by Side Diff: chrome/common/child_process_logging_linux.cc

Issue 6673003: Move GPU messages to content. I've also switched the IPC structs to use the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698