| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "components/variations/variations_util.h" | 40 #include "components/variations/variations_util.h" |
| 41 #include "content/public/child/resource_dispatcher_delegate.h" | 41 #include "content/public/child/resource_dispatcher_delegate.h" |
| 42 #include "content/public/common/service_registry.h" | 42 #include "content/public/common/service_registry.h" |
| 43 #include "content/public/renderer/render_thread.h" | 43 #include "content/public/renderer/render_thread.h" |
| 44 #include "content/public/renderer/render_view.h" | 44 #include "content/public/renderer/render_view.h" |
| 45 #include "content/public/renderer/render_view_visitor.h" | 45 #include "content/public/renderer/render_view_visitor.h" |
| 46 #include "media/base/media_resources.h" | 46 #include "media/base/media_resources.h" |
| 47 #include "mojo/public/cpp/bindings/strong_binding.h" | 47 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 48 #include "net/base/net_errors.h" | 48 #include "net/base/net_errors.h" |
| 49 #include "net/base/net_module.h" | 49 #include "net/base/net_module.h" |
| 50 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
| 50 #include "third_party/WebKit/public/web/WebCache.h" | 51 #include "third_party/WebKit/public/web/WebCache.h" |
| 51 #include "third_party/WebKit/public/web/WebDocument.h" | 52 #include "third_party/WebKit/public/web/WebDocument.h" |
| 52 #include "third_party/WebKit/public/web/WebFrame.h" | 53 #include "third_party/WebKit/public/web/WebFrame.h" |
| 53 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 54 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 54 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 55 #include "third_party/WebKit/public/web/WebView.h" | 55 #include "third_party/WebKit/public/web/WebView.h" |
| 56 | 56 |
| 57 #if defined(ENABLE_EXTENSIONS) | 57 #if defined(ENABLE_EXTENSIONS) |
| 58 #include "chrome/renderer/extensions/extension_localization_peer.h" | 58 #include "chrome/renderer/extensions/extension_localization_peer.h" |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 using blink::WebCache; | 61 using blink::WebCache; |
| 62 using blink::WebRuntimeFeatures; | 62 using blink::WebRuntimeFeatures; |
| 63 using blink::WebSecurityPolicy; | 63 using blink::WebSecurityPolicy; |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 ChromeRenderProcessObserver::content_setting_rules() const { | 388 ChromeRenderProcessObserver::content_setting_rules() const { |
| 389 return &content_setting_rules_; | 389 return &content_setting_rules_; |
| 390 } | 390 } |
| 391 | 391 |
| 392 void ChromeRenderProcessObserver::OnFieldTrialGroupFinalized( | 392 void ChromeRenderProcessObserver::OnFieldTrialGroupFinalized( |
| 393 const std::string& trial_name, | 393 const std::string& trial_name, |
| 394 const std::string& group_name) { | 394 const std::string& group_name) { |
| 395 content::RenderThread::Get()->Send( | 395 content::RenderThread::Get()->Send( |
| 396 new ChromeViewHostMsg_FieldTrialActivated(trial_name)); | 396 new ChromeViewHostMsg_FieldTrialActivated(trial_name)); |
| 397 } | 397 } |
| OLD | NEW |