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

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

Issue 8775067: Clear DNS cache and passive log collected on incognito close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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_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 <string> 9 #include <string>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ChromeNetLog* net_log, 110 ChromeNetLog* net_log,
111 ExtensionEventRouterForwarder* extension_event_router_forwarder); 111 ExtensionEventRouterForwarder* extension_event_router_forwarder);
112 112
113 virtual ~IOThread(); 113 virtual ~IOThread();
114 114
115 // Can only be called on the IO thread. 115 // Can only be called on the IO thread.
116 Globals* globals(); 116 Globals* globals();
117 117
118 ChromeNetLog* net_log(); 118 ChromeNetLog* net_log();
119 119
120 // Handles changing to On The Record mode, discarding confidential data.
121 void ChangedToOnTheRecord();
122
120 // Returns a getter for the URLRequestContext. Only called on the UI thread. 123 // Returns a getter for the URLRequestContext. Only called on the UI thread.
121 net::URLRequestContextGetter* system_url_request_context_getter(); 124 net::URLRequestContextGetter* system_url_request_context_getter();
122 125
126 void ChangedToOnTheRecordOnIOThread();
eroman 2011/12/05 21:10:49 Can this be private?
mmenke 2011/12/05 22:28:00 Done.
127
123 // Clears the host cache. Intended to be used to prevent exposing recently 128 // Clears the host cache. Intended to be used to prevent exposing recently
124 // visited sites on about:net-internals/#dns and about:dns pages. Must be 129 // visited sites on about:net-internals/#dns and about:dns pages. Must be
125 // called on the IO thread. 130 // called on the IO thread.
126 void ClearHostCache(); 131 void ClearHostCache();
127 132
128 // Convenience method similar to base::Thread, giving access to the 133 // Convenience method similar to base::Thread, giving access to the
129 // actual IO thread. 134 // actual IO thread.
130 // TODO(joi): Remove this in follow-up changes. 135 // TODO(joi): Remove this in follow-up changes.
131 MessageLoop* message_loop() const; 136 MessageLoop* message_loop() const;
132 137
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 system_url_request_context_getter_; 210 system_url_request_context_getter_;
206 211
207 net::SdchManager* sdch_manager_; 212 net::SdchManager* sdch_manager_;
208 213
209 base::WeakPtrFactory<IOThread> weak_factory_; 214 base::WeakPtrFactory<IOThread> weak_factory_;
210 215
211 DISALLOW_COPY_AND_ASSIGN(IOThread); 216 DISALLOW_COPY_AND_ASSIGN(IOThread);
212 }; 217 };
213 218
214 #endif // CHROME_BROWSER_IO_THREAD_H_ 219 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/ui/webui/net_internals_ui_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698