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

Side by Side Diff: net/base/url_util.cc

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/base/static_cookie_policy_unittest.cc ('k') | net/base/url_util_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "net/base/url_util.h" 5 #include "net/base/url_util.h"
6 6
7 #include "base/strings/string_piece.h" 7 #include "base/strings/string_piece.h"
8 #include "googleurl/src/gurl.h"
9 #include "net/base/escape.h" 8 #include "net/base/escape.h"
9 #include "url/gurl.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 GURL AppendQueryParameter(const GURL& url, 13 GURL AppendQueryParameter(const GURL& url,
14 const std::string& name, 14 const std::string& name,
15 const std::string& value) { 15 const std::string& value) {
16 std::string query(url.query()); 16 std::string query(url.query());
17 17
18 if (!query.empty()) 18 if (!query.empty())
19 query += "&"; 19 query += "&";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 *out_value = ""; 88 *out_value = "";
89 } 89 }
90 return true; 90 return true;
91 } 91 }
92 } 92 }
93 } 93 }
94 return false; 94 return false;
95 } 95 }
96 96
97 } // namespace net 97 } // namespace net
OLDNEW
« no previous file with comments | « net/base/static_cookie_policy_unittest.cc ('k') | net/base/url_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698