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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/crash_logging.h" 8 #include "base/debug/crash_logging.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 #include "base/metrics/field_trial.h" 11 #include "base/metrics/field_trial.h"
11 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
12 #include "base/metrics/user_metrics_action.h" 13 #include "base/metrics/user_metrics_action.h"
13 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
16 #include "base/values.h" 17 #include "base/values.h"
18 #include "build/build_config.h"
17 #include "chrome/common/channel_info.h" 19 #include "chrome/common/channel_info.h"
18 #include "chrome/common/chrome_isolated_world_ids.h" 20 #include "chrome/common/chrome_isolated_world_ids.h"
19 #include "chrome/common/chrome_paths.h" 21 #include "chrome/common/chrome_paths.h"
20 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/crash_keys.h" 23 #include "chrome/common/crash_keys.h"
22 #include "chrome/common/localized_error.h" 24 #include "chrome/common/localized_error.h"
23 #include "chrome/common/pepper_permission_util.h" 25 #include "chrome/common/pepper_permission_util.h"
24 #include "chrome/common/render_messages.h" 26 #include "chrome/common/render_messages.h"
25 #include "chrome/common/secure_origin_whitelist.h" 27 #include "chrome/common/secure_origin_whitelist.h"
26 #include "chrome/common/url_constants.h" 28 #include "chrome/common/url_constants.h"
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 // chrome.system.network.getNetworkInterfaces provides the same 1409 // chrome.system.network.getNetworkInterfaces provides the same
1408 // information. Also, the enforcement of sending and binding UDP is already done 1410 // information. Also, the enforcement of sending and binding UDP is already done
1409 // by chrome extension permission model. 1411 // by chrome extension permission model.
1410 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 1412 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
1411 #if defined(ENABLE_EXTENSIONS) 1413 #if defined(ENABLE_EXTENSIONS)
1412 return !IsStandaloneExtensionProcess(); 1414 return !IsStandaloneExtensionProcess();
1413 #else 1415 #else
1414 return true; 1416 return true;
1415 #endif 1417 #endif
1416 } 1418 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/chrome_content_renderer_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698