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

Side by Side Diff: chrome/browser/io_thread.h

Issue 6111010: Remove PrerenderInterceptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.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) 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_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "chrome/browser/browser_process_sub_thread.h" 14 #include "chrome/browser/browser_process_sub_thread.h"
15 #include "chrome/browser/net/chrome_network_delegate.h" 15 #include "chrome/browser/net/chrome_network_delegate.h"
16 #include "chrome/common/net/predictor_common.h" 16 #include "chrome/common/net/predictor_common.h"
17 #include "net/base/network_change_notifier.h" 17 #include "net/base/network_change_notifier.h"
18 18
19 class ChromeNetLog; 19 class ChromeNetLog;
20 class ChromeURLRequestContextGetter; 20 class ChromeURLRequestContextGetter;
21 class ListValue; 21 class ListValue;
22 class PrefService; 22 class PrefService;
23 class PrerenderInterceptor;
24 23
25 namespace chrome_browser_net { 24 namespace chrome_browser_net {
26 class ConnectInterceptor; 25 class ConnectInterceptor;
27 class Predictor; 26 class Predictor;
28 } // namespace chrome_browser_net 27 } // namespace chrome_browser_net
29 28
30 namespace net { 29 namespace net {
31 class CertVerifier; 30 class CertVerifier;
32 class ClientSocketFactory; 31 class ClientSocketFactory;
33 class DnsRRResolver; 32 class DnsRRResolver;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 149
151 // These member variables are initialized by a task posted to the IO thread, 150 // These member variables are initialized by a task posted to the IO thread,
152 // which gets posted by calling certain member functions of IOThread. 151 // which gets posted by calling certain member functions of IOThread.
153 152
154 // Note: we user explicit pointers rather than smart pointers to be more 153 // Note: we user explicit pointers rather than smart pointers to be more
155 // explicit about destruction order, and ensure that there is no chance that 154 // explicit about destruction order, and ensure that there is no chance that
156 // these observers would be used accidentally after we have begun to tear 155 // these observers would be used accidentally after we have begun to tear
157 // down. 156 // down.
158 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; 157 chrome_browser_net::ConnectInterceptor* speculative_interceptor_;
159 chrome_browser_net::Predictor* predictor_; 158 chrome_browser_net::Predictor* predictor_;
160 scoped_ptr<PrerenderInterceptor> prerender_interceptor_;
161 159
162 // Keeps track of all live ChromeURLRequestContextGetters, so the 160 // Keeps track of all live ChromeURLRequestContextGetters, so the
163 // ChromeURLRequestContexts can be released during 161 // ChromeURLRequestContexts can be released during
164 // IOThread::CleanUpAfterMessageLoopDestruction(). 162 // IOThread::CleanUpAfterMessageLoopDestruction().
165 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; 163 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_;
166 164
167 DISALLOW_COPY_AND_ASSIGN(IOThread); 165 DISALLOW_COPY_AND_ASSIGN(IOThread);
168 }; 166 };
169 167
170 #endif // CHROME_BROWSER_IO_THREAD_H_ 168 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698