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

Side by Side Diff: net/websockets/websocket_job_unittest.cc

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 3 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
« no previous file with comments | « net/tools/hresolv/hresolv.cc ('k') | views/controls/label.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <vector> 6 #include <vector>
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/string_split.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
11 #include "net/base/cookie_policy.h" 12 #include "net/base/cookie_policy.h"
12 #include "net/base/cookie_store.h" 13 #include "net/base/cookie_store.h"
13 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
14 #include "net/base/sys_addrinfo.h" 15 #include "net/base/sys_addrinfo.h"
15 #include "net/socket_stream/socket_stream.h" 16 #include "net/socket_stream/socket_stream.h"
16 #include "net/url_request/url_request_context.h" 17 #include "net/url_request/url_request_context.h"
17 #include "net/websockets/websocket_job.h" 18 #include "net/websockets/websocket_job.h"
18 #include "net/websockets/websocket_throttle.h" 19 #include "net/websockets/websocket_throttle.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 EXPECT_EQ(2U, cookie_store_->entries().size()); 515 EXPECT_EQ(2U, cookie_store_->entries().size());
515 EXPECT_EQ(cookieUrl, cookie_store_->entries()[0].url); 516 EXPECT_EQ(cookieUrl, cookie_store_->entries()[0].url);
516 EXPECT_EQ("CR-test=1", cookie_store_->entries()[0].cookie_line); 517 EXPECT_EQ("CR-test=1", cookie_store_->entries()[0].cookie_line);
517 EXPECT_EQ(cookieUrl, cookie_store_->entries()[1].url); 518 EXPECT_EQ(cookieUrl, cookie_store_->entries()[1].url);
518 EXPECT_EQ("CR-test-httponly=1", cookie_store_->entries()[1].cookie_line); 519 EXPECT_EQ("CR-test-httponly=1", cookie_store_->entries()[1].cookie_line);
519 520
520 CloseWebSocketJob(); 521 CloseWebSocketJob();
521 } 522 }
522 523
523 } // namespace net 524 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/hresolv/hresolv.cc ('k') | views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698