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

Side by Side Diff: chrome/common/child_process_logging_mac.mm

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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/common/gpu_info.h"
14 #include "chrome/installer/util/google_update_settings.h" 13 #include "chrome/installer/util/google_update_settings.h"
14 #include "content/common/gpu_info.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 16
17 namespace child_process_logging { 17 namespace child_process_logging {
18 18
19 const int kMaxNumCrashURLChunks = 8; 19 const int kMaxNumCrashURLChunks = 8;
20 const int kMaxNumURLChunkValueLength = 255; 20 const int kMaxNumURLChunkValueLength = 255;
21 const char *kUrlChunkFormatStr = "url-chunk-%d"; 21 const char *kUrlChunkFormatStr = "url-chunk-%d";
22 const char *kGuidParamName = "guid"; 22 const char *kGuidParamName = "guid";
23 const char *kGPUVendorIdParamName = "gpu-vendid"; 23 const char *kGPUVendorIdParamName = "gpu-vendid";
24 const char *kGPUDeviceIdParamName = "gpu-devid"; 24 const char *kGPUDeviceIdParamName = "gpu-devid";
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 NSString *value = [NSString stringWithFormat:@"%d", number_of_views]; 177 NSString *value = [NSString stringWithFormat:@"%d", number_of_views];
178 set_key_func(key, value); 178 set_key_func(key, value);
179 } 179 }
180 180
181 void SetNumberOfViews(int number_of_views) { 181 void SetNumberOfViews(int number_of_views) {
182 if (g_set_key_func) 182 if (g_set_key_func)
183 SetNumberOfViewsImpl(number_of_views, g_set_key_func); 183 SetNumberOfViewsImpl(number_of_views, g_set_key_func);
184 } 184 }
185 185
186 } // namespace child_process_logging 186 } // namespace child_process_logging
OLDNEW
« no previous file with comments | « chrome/common/child_process_logging_linux.cc ('k') | chrome/common/child_process_logging_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698