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

Side by Side Diff: net/proxy/proxy_resolver_v8_tracing.cc

Issue 2101863004: net: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/proxy/multi_threaded_proxy_resolver.cc ('k') | net/quic/quic_spdy_session.cc » ('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/proxy/proxy_resolver_v8_tracing.h" 5 #include "net/proxy/proxy_resolver_v8_tracing.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 const CompletionCallback callback_; 1065 const CompletionCallback callback_;
1066 int num_outstanding_callbacks_; 1066 int num_outstanding_callbacks_;
1067 1067
1068 DISALLOW_COPY_AND_ASSIGN(CreateJob); 1068 DISALLOW_COPY_AND_ASSIGN(CreateJob);
1069 }; 1069 };
1070 1070
1071 ProxyResolverV8TracingFactoryImpl::ProxyResolverV8TracingFactoryImpl() { 1071 ProxyResolverV8TracingFactoryImpl::ProxyResolverV8TracingFactoryImpl() {
1072 } 1072 }
1073 1073
1074 ProxyResolverV8TracingFactoryImpl::~ProxyResolverV8TracingFactoryImpl() { 1074 ProxyResolverV8TracingFactoryImpl::~ProxyResolverV8TracingFactoryImpl() {
1075 for (auto job : jobs_) { 1075 for (auto* job : jobs_) {
1076 job->FactoryDestroyed(); 1076 job->FactoryDestroyed();
1077 } 1077 }
1078 } 1078 }
1079 1079
1080 void ProxyResolverV8TracingFactoryImpl::CreateProxyResolverV8Tracing( 1080 void ProxyResolverV8TracingFactoryImpl::CreateProxyResolverV8Tracing(
1081 const scoped_refptr<ProxyResolverScriptData>& pac_script, 1081 const scoped_refptr<ProxyResolverScriptData>& pac_script,
1082 std::unique_ptr<ProxyResolverV8Tracing::Bindings> bindings, 1082 std::unique_ptr<ProxyResolverV8Tracing::Bindings> bindings,
1083 std::unique_ptr<ProxyResolverV8Tracing>* resolver, 1083 std::unique_ptr<ProxyResolverV8Tracing>* resolver,
1084 const CompletionCallback& callback, 1084 const CompletionCallback& callback,
1085 std::unique_ptr<ProxyResolverFactory::Request>* request) { 1085 std::unique_ptr<ProxyResolverFactory::Request>* request) {
(...skipping 11 matching lines...) Expand all
1097 1097
1098 } // namespace 1098 } // namespace
1099 1099
1100 // static 1100 // static
1101 std::unique_ptr<ProxyResolverV8TracingFactory> 1101 std::unique_ptr<ProxyResolverV8TracingFactory>
1102 ProxyResolverV8TracingFactory::Create() { 1102 ProxyResolverV8TracingFactory::Create() {
1103 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl()); 1103 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl());
1104 } 1104 }
1105 1105
1106 } // namespace net 1106 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver.cc ('k') | net/quic/quic_spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698