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

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: fix missing part device_cloud_policy_manager_chromeos_unittest.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
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.h ('k') | no next file » | 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 "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
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <string>
14 13
15 #include "base/basictypes.h" 14 #include "base/basictypes.h"
16 #include "base/bind.h" 15 #include "base/bind.h"
17 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
18 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
19 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
20 #include "base/format_macros.h" 19 #include "base/format_macros.h"
21 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
22 #include "base/memory/weak_ptr.h" 21 #include "base/memory/weak_ptr.h"
23 #include "base/message_loop/message_loop.h" 22 #include "base/message_loop/message_loop.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #endif 91 #endif
93 92
94 #if defined(OS_WIN) 93 #if defined(OS_WIN)
95 #include "base/win/scoped_com_initializer.h" 94 #include "base/win/scoped_com_initializer.h"
96 #include "base/win/scoped_comptr.h" 95 #include "base/win/scoped_comptr.h"
97 #include "base/win/windows_version.h" 96 #include "base/win/windows_version.h"
98 #endif 97 #endif
99 98
100 using base::ASCIIToUTF16; 99 using base::ASCIIToUTF16;
101 using base::Time; 100 using base::Time;
101 using std::string;
102 102
103 namespace net { 103 namespace net {
104 104
105 namespace { 105 namespace {
106 106
107 const base::string16 kChrome(ASCIIToUTF16("chrome")); 107 const base::string16 kChrome(ASCIIToUTF16("chrome"));
108 const base::string16 kSecret(ASCIIToUTF16("secret")); 108 const base::string16 kSecret(ASCIIToUTF16("secret"));
109 const base::string16 kUser(ASCIIToUTF16("user")); 109 const base::string16 kUser(ASCIIToUTF16("user"));
110 110
111 // Tests load timing information in the case a fresh connection was used, with 111 // Tests load timing information in the case a fresh connection was used, with
(...skipping 8705 matching lines...) Expand 10 before | Expand all | Expand 10 after
8817 8817
8818 EXPECT_FALSE(r->is_pending()); 8818 EXPECT_FALSE(r->is_pending());
8819 EXPECT_EQ(1, d->response_started_count()); 8819 EXPECT_EQ(1, d->response_started_count());
8820 EXPECT_FALSE(d->received_data_before_response()); 8820 EXPECT_FALSE(d->received_data_before_response());
8821 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); 8821 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size));
8822 } 8822 }
8823 } 8823 }
8824 #endif // !defined(DISABLE_FTP_SUPPORT) 8824 #endif // !defined(DISABLE_FTP_SUPPORT)
8825 8825
8826 } // namespace net 8826 } // namespace net
OLDNEW
« no previous file with comments | « 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