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