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

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

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/io_thread.h" 5 #include "chrome/browser/io_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/leak_tracker.h" 10 #include "base/debug/leak_tracker.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/metrics/field_trial.h" 12 #include "base/metrics/field_trial.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
14 #include "base/string_number_conversions.h" 14 #include "base/string_number_conversions.h"
15 #include "base/string_split.h" 15 #include "base/string_split.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/thread_restrictions.h" 17 #include "base/thread_restrictions.h"
18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/browser_thread.h" 18 #include "chrome/browser/browser_thread.h"
20 #include "chrome/browser/gpu_process_host.h" 19 #include "chrome/browser/gpu_process_host.h"
21 #include "chrome/browser/net/chrome_net_log.h" 20 #include "chrome/browser/net/chrome_net_log.h"
22 #include "chrome/browser/net/chrome_url_request_context.h" 21 #include "chrome/browser/net/chrome_url_request_context.h"
23 #include "chrome/browser/net/connect_interceptor.h" 22 #include "chrome/browser/net/connect_interceptor.h"
24 #include "chrome/browser/net/passive_log_collector.h" 23 #include "chrome/browser/net/passive_log_collector.h"
25 #include "chrome/browser/net/predictor_api.h" 24 #include "chrome/browser/net/predictor_api.h"
26 #include "chrome/browser/net/prerender_interceptor.h" 25 #include "chrome/browser/net/prerender_interceptor.h"
27 #include "chrome/browser/prefs/pref_service.h" 26 #include "chrome/browser/prefs/pref_service.h"
28 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 net::HostCache* host_cache = 516 net::HostCache* host_cache =
518 globals_->host_resolver.get()->GetAsHostResolverImpl()->cache(); 517 globals_->host_resolver.get()->GetAsHostResolverImpl()->cache();
519 if (host_cache) 518 if (host_cache)
520 host_cache->clear(); 519 host_cache->clear();
521 } 520 }
522 // Clear all of the passively logged data. 521 // Clear all of the passively logged data.
523 // TODO(eroman): this is a bit heavy handed, really all we need to do is 522 // TODO(eroman): this is a bit heavy handed, really all we need to do is
524 // clear the data pertaining to off the record context. 523 // clear the data pertaining to off the record context.
525 net_log_->ClearAllPassivelyCapturedEvents(); 524 net_log_->ClearAllPassivelyCapturedEvents();
526 } 525 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698