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

Side by Side Diff: content/public/renderer/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: read the multiroutes options. Created 5 years, 2 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
(Empty)
1 // Copyright (c) 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. There will be no host
17 // address discovered.
pthatcher1 2015/10/23 17:27:29 There will be no host address discovered => This d
guoweis_left_chromium 2015/10/23 18:24:59 Done.
18 CONTENT_EXPORT extern const char kWebRTCIPHandlingDefaultPublicInterfaceOnly[];
19
20 // WebRTC should only use TCP protocol to contact peers or servers unless the
21 // proxy server supports UDP. This doesn't expose any local address either.
pthatcher1 2015/10/23 17:27:29 local address => local addresses
pthatcher1 2015/10/23 17:27:29 TCP protocol => TCP
guoweis_left_chromium 2015/10/23 18:24:59 Done.
22 CONTENT_EXPORT extern const char kWebRTCIPHandlingDisableNonProxiedUdp[];
23
24 } // namespace content
25
26 #endif // CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698