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

Side by Side Diff: net/url_request/url_request_unittest.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve ramant's comment, using std:: for .cc Created 6 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #endif 10 #endif
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #endif 92 #endif
93 93
94 #if defined(OS_WIN) 94 #if defined(OS_WIN)
95 #include "base/win/scoped_com_initializer.h" 95 #include "base/win/scoped_com_initializer.h"
96 #include "base/win/scoped_comptr.h" 96 #include "base/win/scoped_comptr.h"
97 #include "base/win/windows_version.h" 97 #include "base/win/windows_version.h"
98 #endif 98 #endif
99 99
100 using base::ASCIIToUTF16; 100 using base::ASCIIToUTF16;
101 using base::Time; 101 using base::Time;
102 using std::string;
102 103
103 namespace net { 104 namespace net {
104 105
105 namespace { 106 namespace {
106 107
107 const base::string16 kChrome(ASCIIToUTF16("chrome")); 108 const base::string16 kChrome(ASCIIToUTF16("chrome"));
108 const base::string16 kSecret(ASCIIToUTF16("secret")); 109 const base::string16 kSecret(ASCIIToUTF16("secret"));
109 const base::string16 kUser(ASCIIToUTF16("user")); 110 const base::string16 kUser(ASCIIToUTF16("user"));
110 111
111 // Tests load timing information in the case a fresh connection was used, with 112 // Tests load timing information in the case a fresh connection was used, with
(...skipping 8703 matching lines...) Expand 10 before | Expand all | Expand 10 after
8815 8816
8816 EXPECT_FALSE(r->is_pending()); 8817 EXPECT_FALSE(r->is_pending());
8817 EXPECT_EQ(1, d->response_started_count()); 8818 EXPECT_EQ(1, d->response_started_count());
8818 EXPECT_FALSE(d->received_data_before_response()); 8819 EXPECT_FALSE(d->received_data_before_response());
8819 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); 8820 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size));
8820 } 8821 }
8821 } 8822 }
8822 #endif // !defined(DISABLE_FTP_SUPPORT) 8823 #endif // !defined(DISABLE_FTP_SUPPORT)
8823 8824
8824 } // namespace net 8825 } // namespace net
OLDNEW
« net/tools/quic/quic_server_session.h ('K') | « net/tools/quic/test_tools/quic_test_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698