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

Side by Side Diff: components/sync/driver/sync_util.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/version_info/version_info.h" 10 #include "components/version_info/version_info.h"
(...skipping 21 matching lines...) Expand all
32 32
33 GURL GetSyncServiceURL(const base::CommandLine& command_line, 33 GURL GetSyncServiceURL(const base::CommandLine& command_line,
34 version_info::Channel channel); 34 version_info::Channel channel);
35 35
36 // Helper to construct a user agent string (ASCII) suitable for use by 36 // Helper to construct a user agent string (ASCII) suitable for use by
37 // the syncapi for any HTTP communication. This string is used by the sync 37 // the syncapi for any HTTP communication. This string is used by the sync
38 // backend for classifying client types when calculating statistics. 38 // backend for classifying client types when calculating statistics.
39 std::string MakeUserAgentForSync(version_info::Channel channel, bool is_tablet); 39 std::string MakeUserAgentForSync(version_info::Channel channel, bool is_tablet);
40 40
41 #endif // COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_ 41 #endif // COMPONENTS_SYNC_DRIVER_SYNC_UTIL_H_
OLDNEW
« no previous file with comments | « components/sync/driver/sync_type_preference_provider.h ('k') | components/sync/driver/sync_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698