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 #include "google_apis/gcm/base/gcm_util.h"
7 #include "net/base/escape.h"
11 void BuildFormEncoding(const std::string
& key
,
12 const std::string
& value
,
16 out
->append(key
+ "=" + net::EscapeUrlEncodedData(value
, true));