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

Side by Side Diff: net/http/http_auth_filter_unittest.cc

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/tools/flip_server/epoll_server.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <iostream> 5 #include <ostream>
6 6
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "net/http/http_auth_filter.h" 10 #include "net/http/http_auth_filter.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 namespace { 15 namespace {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 server_whitelist_filter_string += server_whitelist_array[i]; 95 server_whitelist_filter_string += server_whitelist_array[i];
96 } 96 }
97 HttpAuthFilterWhitelist filter(server_whitelist_filter_string); 97 HttpAuthFilterWhitelist filter(server_whitelist_filter_string);
98 for (size_t i = 0; i < arraysize(urls); i++) { 98 for (size_t i = 0; i < arraysize(urls); i++) {
99 EXPECT_EQ(urls[i].matches, filter.IsValid(urls[i].url, urls[i].target)) 99 EXPECT_EQ(urls[i].matches, filter.IsValid(urls[i].url, urls[i].target))
100 << " " << i << ": " << urls[i].url; 100 << " " << i << ": " << urls[i].url;
101 } 101 }
102 } 102 }
103 103
104 } // namespace net 104 } // namespace net
OLDNEW
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/tools/flip_server/epoll_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698