| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/chrome_render_process_observer.h" | 5 #include "chrome/renderer/chrome_render_process_observer.h" |
| 6 | 6 |
| 7 #include "base/allocator/allocator_extension.h" | 7 #include "base/allocator/allocator_extension.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/metrics/statistics_recorder.h" |
| 15 #include "base/native_library.h" | 16 #include "base/native_library.h" |
| 16 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 17 #include "base/process_util.h" | 18 #include "base/process_util.h" |
| 18 #include "base/threading/platform_thread.h" | 19 #include "base/threading/platform_thread.h" |
| 19 #include "chrome/common/child_process_logging.h" | 20 #include "chrome/common/child_process_logging.h" |
| 20 #include "chrome/common/chrome_paths.h" | 21 #include "chrome/common/chrome_paths.h" |
| 21 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/common/chrome_switches.h" |
| 22 #include "chrome/common/extensions/extension_localization_peer.h" | 23 #include "chrome/common/extensions/extension_localization_peer.h" |
| 23 #include "chrome/common/metrics/experiments_helper.h" | 24 #include "chrome/common/metrics/experiments_helper.h" |
| 24 #include "chrome/common/net/net_resource_provider.h" | 25 #include "chrome/common/net/net_resource_provider.h" |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 if (clear_cache_pending_) { | 351 if (clear_cache_pending_) { |
| 351 clear_cache_pending_ = false; | 352 clear_cache_pending_ = false; |
| 352 WebCache::clear(); | 353 WebCache::clear(); |
| 353 } | 354 } |
| 354 } | 355 } |
| 355 | 356 |
| 356 const RendererContentSettingRules* | 357 const RendererContentSettingRules* |
| 357 ChromeRenderProcessObserver::content_setting_rules() const { | 358 ChromeRenderProcessObserver::content_setting_rules() const { |
| 358 return &content_setting_rules_; | 359 return &content_setting_rules_; |
| 359 } | 360 } |
| OLD | NEW |