OLD | NEW |
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_util.h" | 9 #include "base/string_util.h" |
10 #include "chrome/installer/util/google_update_settings.h" | 10 #include "chrome/installer/util/google_update_settings.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 void SetClientId(const std::string& client_id) { | 84 void SetClientId(const std::string& client_id) { |
85 std::string str(client_id); | 85 std::string str(client_id); |
86 ReplaceSubstringsAfterOffset(&str, 0, "-", ""); | 86 ReplaceSubstringsAfterOffset(&str, 0, "-", ""); |
87 | 87 |
88 if (g_set_key_func) | 88 if (g_set_key_func) |
89 SetClientIdImpl(str, g_set_key_func); | 89 SetClientIdImpl(str, g_set_key_func); |
90 | 90 |
91 std::wstring wstr = ASCIIToWide(str); | 91 std::wstring wstr = ASCIIToWide(str); |
92 GoogleUpdateSettings::SetMetricsId(wstr); | 92 GoogleUpdateSettings::SetMetricsId(wstr); |
93 } | 93 } |
| 94 |
| 95 void SetActiveExtensions(const std::vector<std::string> extension_ids) { |
| 96 // TODO(port) |
| 97 } |
| 98 |
94 } // namespace child_process_logging | 99 } // namespace child_process_logging |
OLD | NEW |