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

Side by Side Diff: chrome/browser/net/connection_tester.h

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize to NULL Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_NET_CONNECTION_TESTER_H_ 5 #ifndef CHROME_BROWSER_NET_CONNECTION_TESTER_H_
6 #define CHROME_BROWSER_NET_CONNECTION_TESTER_H_ 6 #define CHROME_BROWSER_NET_CONNECTION_TESTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // The object to notify test progress to. 167 // The object to notify test progress to.
168 Delegate* delegate_; 168 Delegate* delegate_;
169 169
170 // The current in-progress test, or NULL if there is no active test. 170 // The current in-progress test, or NULL if there is no active test.
171 scoped_ptr<TestRunner> current_test_runner_; 171 scoped_ptr<TestRunner> current_test_runner_;
172 172
173 // The ordered list of experiments to try next. The experiment at the front 173 // The ordered list of experiments to try next. The experiment at the front
174 // of the list is the one currently in progress. 174 // of the list is the one currently in progress.
175 ExperimentList remaining_experiments_; 175 ExperimentList remaining_experiments_;
176 176
177 const scoped_refptr<net::URLRequestContext> proxy_request_context_; 177 net::URLRequestContext* const proxy_request_context_;
178 178
179 DISALLOW_COPY_AND_ASSIGN(ConnectionTester); 179 DISALLOW_COPY_AND_ASSIGN(ConnectionTester);
180 }; 180 };
181 181
182 #endif // CHROME_BROWSER_NET_CONNECTION_TESTER_H_ 182 #endif // CHROME_BROWSER_NET_CONNECTION_TESTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | chrome/browser/net/connection_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698