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 "content/renderer/render_process_impl.h" | 5 #include "content/renderer/render_process_impl.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
11 #include <objidl.h> | 11 #include <objidl.h> |
12 #include <mlang.h> | 12 #include <mlang.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include "base/basictypes.h" | |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
18 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
19 #include "content/child/site_isolation_stats_gatherer.h" | 18 #include "content/child/site_isolation_stats_gatherer.h" |
20 #include "content/public/common/content_switches.h" | 19 #include "content/public/common/content_switches.h" |
21 #include "content/public/renderer/content_renderer_client.h" | 20 #include "content/public/renderer/content_renderer_client.h" |
22 #include "third_party/WebKit/public/web/WebFrame.h" | 21 #include "third_party/WebKit/public/web/WebFrame.h" |
23 #include "v8/include/v8.h" | 22 #include "v8/include/v8.h" |
24 | 23 |
25 namespace content { | 24 namespace content { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 78 |
80 void RenderProcessImpl::AddBindings(int bindings) { | 79 void RenderProcessImpl::AddBindings(int bindings) { |
81 enabled_bindings_ |= bindings; | 80 enabled_bindings_ |= bindings; |
82 } | 81 } |
83 | 82 |
84 int RenderProcessImpl::GetEnabledBindings() const { | 83 int RenderProcessImpl::GetEnabledBindings() const { |
85 return enabled_bindings_; | 84 return enabled_bindings_; |
86 } | 85 } |
87 | 86 |
88 } // namespace content | 87 } // namespace content |
OLD | NEW |