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

Side by Side Diff: net/cookies/cookie_util_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/parsed_cookie.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/basictypes.h"
9 #include "base/strings/string_split.h" 8 #include "base/strings/string_split.h"
10 #include "net/cookies/cookie_util.h" 9 #include "net/cookies/cookie_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 namespace net { 12 namespace net {
14 13
15 namespace { 14 namespace {
16 15
17 struct RequestCookieParsingTest { 16 struct RequestCookieParsingTest {
18 std::string str; 17 std::string str;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 cookie_util::GetEffectiveDomain("ws", "www.example.com")); 202 cookie_util::GetEffectiveDomain("ws", "www.example.com"));
204 EXPECT_EQ("example.com", 203 EXPECT_EQ("example.com",
205 cookie_util::GetEffectiveDomain("wss", "www.example.com")); 204 cookie_util::GetEffectiveDomain("wss", "www.example.com"));
206 EXPECT_EQ("www.example.com", 205 EXPECT_EQ("www.example.com",
207 cookie_util::GetEffectiveDomain("ftp", "www.example.com")); 206 cookie_util::GetEffectiveDomain("ftp", "www.example.com"));
208 } 207 }
209 208
210 } // namespace 209 } // namespace
211 210
212 } // namespace net 211 } // namespace net
OLDNEW
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/parsed_cookie.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698