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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_unittest.cc

Issue 678073006: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bogus formatting Created 6 years, 1 month 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 <vector> 5 #include <vector>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 737
738 // Do not release handles in it yet; the accumulator owns them now. 738 // Do not release handles in it yet; the accumulator owns them now.
739 delete msg; 739 delete msg;
740 return true; 740 return true;
741 } 741 }
742 742
743 protected: 743 protected:
744 friend class TestURLRequestJobFactory; 744 friend class TestURLRequestJobFactory;
745 745
746 // testing::Test 746 // testing::Test
747 virtual void SetUp() override { 747 void SetUp() override {
748 ChildProcessSecurityPolicyImpl::GetInstance()->Add(0); 748 ChildProcessSecurityPolicyImpl::GetInstance()->Add(0);
749 HandleScheme("test"); 749 HandleScheme("test");
750 } 750 }
751 751
752 virtual void TearDown() { 752 void TearDown() override {
753 EXPECT_TRUE(URLRequestTestDelayedStartJob::DelayedStartQueueEmpty()); 753 EXPECT_TRUE(URLRequestTestDelayedStartJob::DelayedStartQueueEmpty());
754 URLRequestTestDelayedStartJob::ClearQueue(); 754 URLRequestTestDelayedStartJob::ClearQueue();
755 755
756 for (std::set<int>::iterator it = child_ids_.begin(); 756 for (std::set<int>::iterator it = child_ids_.begin();
757 it != child_ids_.end(); ++it) { 757 it != child_ids_.end(); ++it) {
758 host_.CancelRequestsForProcess(*it); 758 host_.CancelRequestsForProcess(*it);
759 } 759 }
760 760
761 host_.Shutdown(); 761 host_.Shutdown();
762 762
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2994 } else { 2994 } else {
2995 return new net::URLRequestTestJob( 2995 return new net::URLRequestTestJob(
2996 request, network_delegate, 2996 request, network_delegate,
2997 test_fixture_->response_headers_, test_fixture_->response_data_, 2997 test_fixture_->response_headers_, test_fixture_->response_data_,
2998 false); 2998 false);
2999 } 2999 }
3000 } 3000 }
3001 } 3001 }
3002 3002
3003 } // namespace content 3003 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client_unittest.cc ('k') | content/browser/loader/resource_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698