Index: components/sync/base/get_session_name_mac.mm |
diff --git a/sync/util/get_session_name_mac.mm b/components/sync/base/get_session_name_mac.mm |
similarity index 93% |
rename from sync/util/get_session_name_mac.mm |
rename to components/sync/base/get_session_name_mac.mm |
index 00c2a75e542842c0531c9b46c2fcdb145d8ce4b1..b8361c5da4e2ee22847257f61b588a2b273503fc 100644 |
--- a/sync/util/get_session_name_mac.mm |
+++ b/components/sync/base/get_session_name_mac.mm |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sync/util/get_session_name_mac.h" |
+#include "components/sync/base/get_session_name_mac.h" |
#include <stddef.h> |
#include <sys/sysctl.h> |
@@ -17,7 +17,7 @@ namespace internal { |
std::string GetHardwareModelName() { |
// Do not use NSHost currentHost, as it's very slow. http://crbug.com/138570 |
- SCDynamicStoreContext context = { 0, NULL, NULL, NULL }; |
+ SCDynamicStoreContext context = {0, NULL, NULL, NULL}; |
base::ScopedCFTypeRef<SCDynamicStoreRef> store(SCDynamicStoreCreate( |
kCFAllocatorDefault, CFSTR("chrome_sync"), NULL, &context)); |
base::ScopedCFTypeRef<CFStringRef> machine_name( |