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

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

Issue 280763003: Rename http_transaction_unittest to http_transaction_test_util. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/http/http_transaction_test_util.h ('k') | net/http/http_transaction_unittest.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 "net/http/http_transaction_unittest.h" 5 #include "net/http/http_transaction_test_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
14 #include "net/base/load_timing_info.h" 14 #include "net/base/load_timing_info.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 if (rv > 0) 495 if (rv > 0)
496 content.append(buf->data(), rv); 496 content.append(buf->data(), rv);
497 else if (rv < 0) 497 else if (rv < 0)
498 return rv; 498 return rv;
499 } while (rv > 0); 499 } while (rv > 0);
500 500
501 result->swap(content); 501 result->swap(content);
502 return net::OK; 502 return net::OK;
503 } 503 }
OLDNEW
« no previous file with comments | « net/http/http_transaction_test_util.h ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698