OLD | NEW |
1 // Copyright (c) 2011 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 #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" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 SetCrashKeyValueFuncPtr set_key_func) { | 166 SetCrashKeyValueFuncPtr set_key_func) { |
167 NSString *key = [NSString stringWithUTF8String:kNumberOfViews]; | 167 NSString *key = [NSString stringWithUTF8String:kNumberOfViews]; |
168 NSString *value = [NSString stringWithFormat:@"%d", number_of_views]; | 168 NSString *value = [NSString stringWithFormat:@"%d", number_of_views]; |
169 set_key_func(key, value); | 169 set_key_func(key, value); |
170 } | 170 } |
171 | 171 |
172 void SetNumberOfViews(int number_of_views) { | 172 void SetNumberOfViews(int number_of_views) { |
173 SetNumberOfViewsImpl(number_of_views, SetCrashKeyValue); | 173 SetNumberOfViewsImpl(number_of_views, SetCrashKeyValue); |
174 } | 174 } |
175 | 175 |
| 176 void SetCommandLine(const CommandLine*) { |
| 177 // TODO: http://crbug.com/60991 |
| 178 NOTIMPLEMENTED(); |
| 179 } |
| 180 |
176 } // namespace child_process_logging | 181 } // namespace child_process_logging |
OLD | NEW |