OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_DEVICE_INFO_UTIL_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_UTIL_H_ |
6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_UTIL_H_ | 6 #define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 static std::string SpecificsToTag( | 49 static std::string SpecificsToTag( |
50 const sync_pb::DeviceInfoSpecifics& specifics); | 50 const sync_pb::DeviceInfoSpecifics& specifics); |
51 | 51 |
52 // Extracts cache_guid from ClientTag. | 52 // Extracts cache_guid from ClientTag. |
53 static std::string TagToCacheGuid(const std::string& tag); | 53 static std::string TagToCacheGuid(const std::string& tag); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace sync_driver | 56 } // namespace sync_driver |
57 | 57 |
58 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_UTIL_H_ | 58 #endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_UTIL_H_ |
OLD | NEW |