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

Side by Side Diff: components/cronet/android/cronet_url_request_context_adapter.cc

Issue 893303003: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/cronet/android/cronet_url_request_context_adapter.h" 5 #include "components/cronet/android/cronet_url_request_context_adapter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "components/cronet/url_request_context_config.h" 10 #include "components/cronet/url_request_context_config.h"
(...skipping 12 matching lines...) Expand all
23 #include "net/url_request/url_request_context.h" 23 #include "net/url_request/url_request_context.h"
24 #include "net/url_request/url_request_context_builder.h" 24 #include "net/url_request/url_request_context_builder.h"
25 #include "net/url_request/url_request_context_storage.h" 25 #include "net/url_request/url_request_context_storage.h"
26 #include "net/url_request/url_request_job_factory_impl.h" 26 #include "net/url_request/url_request_job_factory_impl.h"
27 27
28 namespace { 28 namespace {
29 29
30 class BasicNetworkDelegate : public net::NetworkDelegateImpl { 30 class BasicNetworkDelegate : public net::NetworkDelegateImpl {
31 public: 31 public:
32 BasicNetworkDelegate() {} 32 BasicNetworkDelegate() {}
33 virtual ~BasicNetworkDelegate() {} 33 ~BasicNetworkDelegate() override {}
34 34
35 private: 35 private:
36 // net::NetworkDelegate implementation. 36 // net::NetworkDelegate implementation.
37 int OnBeforeURLRequest(net::URLRequest* request, 37 int OnBeforeURLRequest(net::URLRequest* request,
38 const net::CompletionCallback& callback, 38 const net::CompletionCallback& callback,
39 GURL* new_url) override { 39 GURL* new_url) override {
40 return net::OK; 40 return net::OK;
41 } 41 }
42 42
43 int OnBeforeSendHeaders(net::URLRequest* request, 43 int OnBeforeSendHeaders(net::URLRequest* request,
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 void CronetURLRequestContextAdapter::StopNetLogOnNetworkThread() { 257 void CronetURLRequestContextAdapter::StopNetLogOnNetworkThread() {
258 DCHECK(GetNetworkTaskRunner()->BelongsToCurrentThread()); 258 DCHECK(GetNetworkTaskRunner()->BelongsToCurrentThread());
259 if (net_log_logger_) { 259 if (net_log_logger_) {
260 net_log_logger_->StopObserving(); 260 net_log_logger_->StopObserving();
261 net_log_logger_.reset(); 261 net_log_logger_.reset();
262 } 262 }
263 } 263 }
264 264
265 } // namespace cronet 265 } // namespace cronet
OLDNEW
« no previous file with comments | « components/crash/browser/crash_dump_manager_android.h ('k') | components/cronet/android/url_request_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698