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

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

Issue 10828314: Move Variations stuff into variations/ directories and add OWNERS files for the variations client t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add OWNERS files Created 8 years, 4 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/metrics/variation_ids.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/string_split.h" 11 #include "base/string_split.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/common/metrics/variations_util.h" 16 #include "chrome/common/metrics/variations/variations_util.h"
17 #include "chrome/installer/util/google_update_settings.h" 17 #include "chrome/installer/util/google_update_settings.h"
18 #include "content/public/common/gpu_info.h" 18 #include "content/public/common/gpu_info.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 20
21 namespace child_process_logging { 21 namespace child_process_logging {
22 22
23 using base::mac::SetCrashKeyValueFuncPtr; 23 using base::mac::SetCrashKeyValueFuncPtr;
24 using base::mac::ClearCrashKeyValueFuncPtr; 24 using base::mac::ClearCrashKeyValueFuncPtr;
25 using base::mac::SetCrashKeyValue; 25 using base::mac::SetCrashKeyValue;
26 using base::mac::ClearCrashKey; 26 using base::mac::ClearCrashKey;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 249 }
250 250
251 void SetChannel(const std::string& channel) { 251 void SetChannel(const std::string& channel) {
252 // This should match the corresponding string in breakpad_win.cc. 252 // This should match the corresponding string in breakpad_win.cc.
253 NSString* const kChannelKey = @"channel"; 253 NSString* const kChannelKey = @"channel";
254 254
255 SetCrashKeyValue(kChannelKey, base::SysUTF8ToNSString(channel)); 255 SetCrashKeyValue(kChannelKey, base::SysUTF8ToNSString(channel));
256 } 256 }
257 257
258 } // namespace child_process_logging 258 } // namespace child_process_logging
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/metrics/variation_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698