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

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

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 "content/browser/loader/async_resource_handler.h" 5 #include "content/browser/loader/async_resource_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 } // namespace 67 } // namespace
68 68
69 class DependentIOBuffer : public net::WrappedIOBuffer { 69 class DependentIOBuffer : public net::WrappedIOBuffer {
70 public: 70 public:
71 DependentIOBuffer(ResourceBuffer* backing, char* memory) 71 DependentIOBuffer(ResourceBuffer* backing, char* memory)
72 : net::WrappedIOBuffer(memory), 72 : net::WrappedIOBuffer(memory),
73 backing_(backing) { 73 backing_(backing) {
74 } 74 }
75 private: 75 private:
76 virtual ~DependentIOBuffer() {} 76 ~DependentIOBuffer() override {}
77 scoped_refptr<ResourceBuffer> backing_; 77 scoped_refptr<ResourceBuffer> backing_;
78 }; 78 };
79 79
80 AsyncResourceHandler::AsyncResourceHandler( 80 AsyncResourceHandler::AsyncResourceHandler(
81 net::URLRequest* request, 81 net::URLRequest* request,
82 ResourceDispatcherHostImpl* rdh) 82 ResourceDispatcherHostImpl* rdh)
83 : ResourceHandler(request), 83 : ResourceHandler(request),
84 ResourceMessageDelegate(request), 84 ResourceMessageDelegate(request),
85 rdh_(rdh), 85 rdh_(rdh),
86 pending_data_count_(0), 86 pending_data_count_(0),
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 request()->LogUnblocked(); 401 request()->LogUnblocked();
402 controller()->Resume(); 402 controller()->Resume();
403 } 403 }
404 } 404 }
405 405
406 void AsyncResourceHandler::OnDefer() { 406 void AsyncResourceHandler::OnDefer() {
407 request()->LogBlockedBy("AsyncResourceHandler"); 407 request()->LogBlockedBy("AsyncResourceHandler");
408 } 408 }
409 409
410 } // namespace content 410 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/async_resource_handler.h ('k') | content/browser/loader/buffered_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698