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

Unified Diff: components/sync/base/get_session_name_mac.mm

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/base/get_session_name_mac.h ('k') | components/sync/base/get_session_name_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « components/sync/base/get_session_name_mac.h ('k') | components/sync/base/get_session_name_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698