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

Side by Side Diff: content/public/common/webrtc_ip_handling_policy.h

Issue 1413393003: Change WebRTC IP handling policy from multiple booleans to an enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update GYP file with right order. Created 5 years, 1 month 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_
6 #define CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_
7
8 #include "content/common/content_export.h"
9
10 namespace content {
11
12 // This is the default behavior of Chrome. Currently, WebRTC has the right to
13 // enumerate all interfaces and bind them to discover public interfaces.
14 CONTENT_EXPORT extern const char kWebRTCIPHandlingDefault[];
15
16 // WebRTC should only use the default route used by http. This also exposes the
17 // associated default private address. Default route is the route chosen by the
18 // OS on a multi-homed endpoint.
19 CONTENT_EXPORT extern const char
20 kWebRTCIPHandlingDefaultPublicAndPrivateInterfaces[];
21
22 // WebRTC should only use the default route used by http. This doesn't expose
23 // any local addresses.
24 CONTENT_EXPORT extern const char kWebRTCIPHandlingDefaultPublicInterfaceOnly[];
25
26 // WebRTC should only use TCP to contact peers or servers unless the proxy
27 // server supports UDP. This doesn't expose any local addresses either.
28 CONTENT_EXPORT extern const char kWebRTCIPHandlingDisableNonProxiedUdp[];
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_
OLDNEW
« no previous file with comments | « content/public/common/renderer_preferences.cc ('k') | content/public/common/webrtc_ip_handling_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698