Add ICU message format support
[chromium-blink-merge.git] / google_apis / gcm / base / gcm_util.h
blob261950bb57eea1e9ad8be46d53f5469952a1b600
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
3 // found in the LICENSE file.
5 #ifndef GOOGLE_APIS_GCM_BASE_GCM_UTIL_H_
6 #define GOOGLE_APIS_GCM_BASE_GCM_UTIL_H_
8 #include <string>
10 namespace gcm {
12 // Encodes key-value pair into form format that could be submitted as http post
13 // data. Each key-value pair is separated by an '&', and each key is separated
14 // from its value by an '='.
15 void BuildFormEncoding(const std::string& key,
16 const std::string& value,
17 std::string* out);
19 } // namespace gcm
21 #endif // GOOGLE_APIS_GCM_BASE_GCM_UTIL_H_