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 <limits> | 7 #include <limits> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/allocator/allocator_extension.h" | 10 #include "base/allocator/allocator_extension.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/chrome_version_info.h" | 27 #include "chrome/common/chrome_version_info.h" |
28 #include "chrome/common/metrics/variations/variations_util.h" | 28 #include "chrome/common/metrics/variations/variations_util.h" |
29 #include "chrome/common/net/net_resource_provider.h" | 29 #include "chrome/common/net/net_resource_provider.h" |
30 #include "chrome/common/render_messages.h" | 30 #include "chrome/common/render_messages.h" |
31 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
32 #include "chrome/renderer/chrome_content_renderer_client.h" | 32 #include "chrome/renderer/chrome_content_renderer_client.h" |
33 #include "chrome/renderer/content_settings_observer.h" | 33 #include "chrome/renderer/content_settings_observer.h" |
34 #include "chrome/renderer/extensions/extension_localization_peer.h" | 34 #include "chrome/renderer/extensions/extension_localization_peer.h" |
35 #include "chrome/renderer/security_filter_peer.h" | 35 #include "chrome/renderer/security_filter_peer.h" |
36 #include "content/public/common/resource_dispatcher_delegate.h" | 36 #include "content/public/child/resource_dispatcher_delegate.h" |
37 #include "content/public/renderer/render_thread.h" | 37 #include "content/public/renderer/render_thread.h" |
38 #include "content/public/renderer/render_view.h" | 38 #include "content/public/renderer/render_view.h" |
39 #include "content/public/renderer/render_view_visitor.h" | 39 #include "content/public/renderer/render_view_visitor.h" |
40 #include "crypto/nss_util.h" | 40 #include "crypto/nss_util.h" |
41 #include "media/base/media_switches.h" | 41 #include "media/base/media_switches.h" |
42 #include "net/base/net_errors.h" | 42 #include "net/base/net_errors.h" |
43 #include "net/base/net_module.h" | 43 #include "net/base/net_module.h" |
44 #include "third_party/sqlite/sqlite3.h" | |
45 #include "third_party/WebKit/public/web/WebCache.h" | 44 #include "third_party/WebKit/public/web/WebCache.h" |
46 #include "third_party/WebKit/public/web/WebCrossOriginPreflightResultCache.h" | 45 #include "third_party/WebKit/public/web/WebCrossOriginPreflightResultCache.h" |
47 #include "third_party/WebKit/public/web/WebDocument.h" | 46 #include "third_party/WebKit/public/web/WebDocument.h" |
48 #include "third_party/WebKit/public/web/WebFontCache.h" | 47 #include "third_party/WebKit/public/web/WebFontCache.h" |
49 #include "third_party/WebKit/public/web/WebFrame.h" | 48 #include "third_party/WebKit/public/web/WebFrame.h" |
50 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 49 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
51 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 50 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
52 #include "third_party/WebKit/public/web/WebView.h" | 51 #include "third_party/WebKit/public/web/WebView.h" |
| 52 #include "third_party/sqlite/sqlite3.h" |
53 #include "v8/include/v8.h" | 53 #include "v8/include/v8.h" |
54 | 54 |
55 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
56 #include "base/win/iat_patch_function.h" | 56 #include "base/win/iat_patch_function.h" |
57 #endif | 57 #endif |
58 | 58 |
59 using WebKit::WebCache; | 59 using WebKit::WebCache; |
60 using WebKit::WebCrossOriginPreflightResultCache; | 60 using WebKit::WebCrossOriginPreflightResultCache; |
61 using WebKit::WebFontCache; | 61 using WebKit::WebFontCache; |
62 using WebKit::WebRuntimeFeatures; | 62 using WebKit::WebRuntimeFeatures; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 if (clear_cache_pending_) { | 435 if (clear_cache_pending_) { |
436 clear_cache_pending_ = false; | 436 clear_cache_pending_ = false; |
437 WebCache::clear(); | 437 WebCache::clear(); |
438 } | 438 } |
439 } | 439 } |
440 | 440 |
441 const RendererContentSettingRules* | 441 const RendererContentSettingRules* |
442 ChromeRenderProcessObserver::content_setting_rules() const { | 442 ChromeRenderProcessObserver::content_setting_rules() const { |
443 return &content_setting_rules_; | 443 return &content_setting_rules_; |
444 } | 444 } |
OLD | NEW |