Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
|
armansito
2015/02/24 23:55:08
nit: Drop the '(c)' bit.
dvh
2015/02/25 23:52:13
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef DEVICE_BLUETOOTH_URIBEACON_URI_ENCODER_H_ | |
| 6 #define DEVICE_BLUETOOTH_URIBEACON_URI_ENCODER_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/strings/string_piece.h" | |
| 11 | |
| 12 namespace device { | |
| 13 | |
| 14 // Encodes the input string using URI encoding described in UriBeacon | |
| 15 // specifications. | |
|
armansito
2015/02/24 23:55:07
I would probably add a comment-block at the top of
dvh
2015/03/03 20:26:04
Done.
| |
| 16 void EncodeUriBeaconUri(const base::StringPiece& input, std::string* output); | |
|
armansito
2015/02/24 23:55:08
I guess string -> string works as the general data
dvh
2015/03/03 20:26:03
Done.
| |
| 17 | |
| 18 // Decodes the input string using URI encoding described in UriBeacon | |
| 19 // specifications. | |
| 20 void DecodeUriBeaconUri(const base::StringPiece& input, std::string* output); | |
| 21 | |
| 22 } // namespace device | |
| 23 | |
| 24 #endif | |
| OLD | NEW |