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

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

Issue 1742053002: Move trial token code to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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 <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/crash_logging.h" 10 #include "base/debug/crash_logging.h"
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 // chrome.system.network.getNetworkInterfaces provides the same 1415 // chrome.system.network.getNetworkInterfaces provides the same
1416 // information. Also, the enforcement of sending and binding UDP is already done 1416 // information. Also, the enforcement of sending and binding UDP is already done
1417 // by chrome extension permission model. 1417 // by chrome extension permission model.
1418 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 1418 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
1419 #if defined(ENABLE_EXTENSIONS) 1419 #if defined(ENABLE_EXTENSIONS)
1420 return !IsStandaloneExtensionProcess(); 1420 return !IsStandaloneExtensionProcess();
1421 #else 1421 #else
1422 return true; 1422 return true;
1423 #endif 1423 #endif
1424 } 1424 }
1425
1426 base::StringPiece ChromeContentRendererClient::GetOriginTrialPublicKey() {
1427 return origin_trial_key_manager_.GetPublicKey();
1428 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698