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

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

Issue 6793054: Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/installer/util/google_update_settings.h" 10 #include "chrome/installer/util/google_update_settings.h"
11 #include "content/common/gpu_info.h" 11 #include "content/common/gpu/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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 gpu_info.vertex_shader_version.c_str(), 72 gpu_info.vertex_shader_version.c_str(),
73 kGpuStringSize - 1); 73 kGpuStringSize - 1);
74 g_gpu_vs_ver[kGpuStringSize - 1] = '\0'; 74 g_gpu_vs_ver[kGpuStringSize - 1] = '\0';
75 } 75 }
76 76
77 void SetNumberOfViews(int number_of_views) { 77 void SetNumberOfViews(int number_of_views) {
78 // TODO(port) 78 // TODO(port)
79 } 79 }
80 80
81 } // namespace child_process_logging 81 } // namespace child_process_logging
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698