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

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

Issue 1316863007: Change GetTotalReceivedBytes() from int64 to int64_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on master Created 5 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/url_request/url_request.cc ('k') | net/url_request/url_request_job.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/url_request/url_request_http_job.h" 5 #include "net/url_request/url_request_http_job.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 10
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 651
652 void Close(bool not_reusable) override {} 652 void Close(bool not_reusable) override {}
653 653
654 bool IsResponseBodyComplete() const override { return false; } 654 bool IsResponseBodyComplete() const override { return false; }
655 655
656 bool IsConnectionReused() const override { return false; } 656 bool IsConnectionReused() const override { return false; }
657 void SetConnectionReused() override {} 657 void SetConnectionReused() override {}
658 658
659 bool CanReuseConnection() const override { return false; } 659 bool CanReuseConnection() const override { return false; }
660 660
661 int64 GetTotalReceivedBytes() const override { return 0; } 661 int64_t GetTotalReceivedBytes() const override { return 0; }
662 int64_t GetTotalSentBytes() const override { return 0; } 662 int64_t GetTotalSentBytes() const override { return 0; }
663 663
664 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { 664 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
665 return false; 665 return false;
666 } 666 }
667 667
668 void GetSSLInfo(SSLInfo* ssl_info) override {} 668 void GetSSLInfo(SSLInfo* ssl_info) override {}
669 669
670 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} 670 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
671 671
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 req_->SetLoadFlags(LOAD_DISABLE_CACHE); 713 req_->SetLoadFlags(LOAD_DISABLE_CACHE);
714 job->Start(); 714 job->Start();
715 base::RunLoop().RunUntilIdle(); 715 base::RunLoop().RunUntilIdle();
716 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); 716 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status());
717 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); 717 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called());
718 } 718 }
719 719
720 } // namespace 720 } // namespace
721 721
722 } // namespace net 722 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698