| 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_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 #include "chrome/renderer/printing/chrome_print_web_view_helper_delegate.h" | 140 #include "chrome/renderer/printing/chrome_print_web_view_helper_delegate.h" |
| 141 #include "components/printing/renderer/print_web_view_helper.h" | 141 #include "components/printing/renderer/print_web_view_helper.h" |
| 142 #include "printing/print_settings.h" | 142 #include "printing/print_settings.h" |
| 143 #endif | 143 #endif |
| 144 | 144 |
| 145 #if defined(ENABLE_PRINT_PREVIEW) | 145 #if defined(ENABLE_PRINT_PREVIEW) |
| 146 #include "chrome/renderer/pepper/chrome_pdf_print_client.h" | 146 #include "chrome/renderer/pepper/chrome_pdf_print_client.h" |
| 147 #endif | 147 #endif |
| 148 | 148 |
| 149 #if defined(ENABLE_SPELLCHECK) | 149 #if defined(ENABLE_SPELLCHECK) |
| 150 #include "chrome/renderer/spellchecker/spellcheck.h" | 150 #include "components/spellcheck/renderer/spellcheck.h" |
| 151 #include "chrome/renderer/spellchecker/spellcheck_provider.h" | 151 #include "components/spellcheck/renderer/spellcheck_provider.h" |
| 152 #endif | 152 #endif |
| 153 | 153 |
| 154 #if defined(ENABLE_WEBRTC) | 154 #if defined(ENABLE_WEBRTC) |
| 155 #include "chrome/renderer/media/webrtc_logging_message_filter.h" | 155 #include "chrome/renderer/media/webrtc_logging_message_filter.h" |
| 156 #endif | 156 #endif |
| 157 | 157 |
| 158 using autofill::AutofillAgent; | 158 using autofill::AutofillAgent; |
| 159 using autofill::PasswordAutofillAgent; | 159 using autofill::PasswordAutofillAgent; |
| 160 using autofill::PasswordGenerationAgent; | 160 using autofill::PasswordGenerationAgent; |
| 161 using base::ASCIIToUTF16; | 161 using base::ASCIIToUTF16; |
| (...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 // chrome.system.network.getNetworkInterfaces provides the same | 1378 // chrome.system.network.getNetworkInterfaces provides the same |
| 1379 // information. Also, the enforcement of sending and binding UDP is already done | 1379 // information. Also, the enforcement of sending and binding UDP is already done |
| 1380 // by chrome extension permission model. | 1380 // by chrome extension permission model. |
| 1381 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 1381 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
| 1382 #if defined(ENABLE_EXTENSIONS) | 1382 #if defined(ENABLE_EXTENSIONS) |
| 1383 return !IsStandaloneExtensionProcess(); | 1383 return !IsStandaloneExtensionProcess(); |
| 1384 #else | 1384 #else |
| 1385 return true; | 1385 return true; |
| 1386 #endif | 1386 #endif |
| 1387 } | 1387 } |
| OLD | NEW |