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

Side by Side Diff: sync/util/get_session_name.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « sync/util/extensions_activity.h ('k') | sync/util/get_session_name_mac.mm » ('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 "sync/util/get_session_name.h" 5 #include "sync/util/get_session_name.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "base/task_runner.h" 13 #include "base/task_runner.h"
14 #include "build/build_config.h"
14 15
15 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
16 #include "chromeos/system/devicetype.h" 17 #include "chromeos/system/devicetype.h"
17 #elif defined(OS_LINUX) 18 #elif defined(OS_LINUX)
18 #include "sync/util/get_session_name_linux.h" 19 #include "sync/util/get_session_name_linux.h"
19 #elif defined(OS_IOS) 20 #elif defined(OS_IOS)
20 #include "sync/util/get_session_name_ios.h" 21 #include "sync/util/get_session_name_ios.h"
21 #elif defined(OS_MACOSX) 22 #elif defined(OS_MACOSX)
22 #include "sync/util/get_session_name_mac.h" 23 #include "sync/util/get_session_name_mac.h"
23 #elif defined(OS_WIN) 24 #elif defined(OS_WIN)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 base::Bind(&OnSessionNameFilled, 95 base::Bind(&OnSessionNameFilled,
95 done_callback, 96 done_callback,
96 base::Owned(session_name))); 97 base::Owned(session_name)));
97 } 98 }
98 99
99 std::string GetSessionNameSynchronouslyForTesting() { 100 std::string GetSessionNameSynchronouslyForTesting() {
100 return GetSessionNameSynchronously(); 101 return GetSessionNameSynchronously();
101 } 102 }
102 103
103 } // namespace syncer 104 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/util/extensions_activity.h ('k') | sync/util/get_session_name_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698