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/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "chrome/renderer/security_filter_peer.h" | 25 #include "chrome/renderer/security_filter_peer.h" |
26 #include "content/public/common/resource_dispatcher_delegate.h" | 26 #include "content/public/common/resource_dispatcher_delegate.h" |
27 #include "content/public/renderer/render_thread.h" | 27 #include "content/public/renderer/render_thread.h" |
28 #include "content/public/renderer/render_view_visitor.h" | 28 #include "content/public/renderer/render_view_visitor.h" |
29 #include "content/public/renderer/render_view.h" | 29 #include "content/public/renderer/render_view.h" |
30 #include "crypto/nss_util.h" | 30 #include "crypto/nss_util.h" |
31 #include "media/base/media_switches.h" | 31 #include "media/base/media_switches.h" |
32 #include "net/base/net_errors.h" | 32 #include "net/base/net_errors.h" |
33 #include "net/base/net_module.h" | 33 #include "net/base/net_module.h" |
34 #include "third_party/sqlite/sqlite3.h" | 34 #include "third_party/sqlite/sqlite3.h" |
35 #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" | 35 #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h" |
36 #include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h" | 36 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCrossOriginPreflig
htResultCache.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCrossOriginPreflig
htResultCache.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFontCache.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFontCache.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
44 #include "v8/include/v8.h" | 44 #include "v8/include/v8.h" |
45 | 45 |
46 #if defined(OS_WIN) | 46 #if defined(OS_WIN) |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 if (clear_cache_pending_) { | 374 if (clear_cache_pending_) { |
375 clear_cache_pending_ = false; | 375 clear_cache_pending_ = false; |
376 WebCache::clear(); | 376 WebCache::clear(); |
377 } | 377 } |
378 } | 378 } |
379 | 379 |
380 const RendererContentSettingRules* | 380 const RendererContentSettingRules* |
381 ChromeRenderProcessObserver::content_setting_rules() const { | 381 ChromeRenderProcessObserver::content_setting_rules() const { |
382 return &content_setting_rules_; | 382 return &content_setting_rules_; |
383 } | 383 } |
OLD | NEW |