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

Side by Side Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 1764333002: Move WebRuntimeEnabledFeatures to platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing files. Created 4 years, 9 months 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
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698