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 3 // found in the LICENSE file. 4 5 #ifndef REMOTING_BASE_CONSTANTS_H_ 6 #define REMOTING_BASE_CONSTANTS_H_ 7 8 #include "base/time/time.h" 9 10 namespace remoting { 11 12 // Namespace used for chromoting XMPP stanzas. 13 extern const char kChromotingXmlNamespace[]; 14 15 // Channel names. 16 extern const char kAudioChannelName[]; 17 extern const char kControlChannelName[]; 18 extern const char kEventChannelName[]; 19 extern const char kVideoChannelName[]; 20 extern const char kVideoStatsChannelNamePrefix[]; 21 22 // MIME types for the clipboard. 23 extern const char kMimeTypeTextUtf8[]; 24 25 const int kDefaultDpi = 96; 26 27 // The default interval for processes to send resource usage to network process. 28 constexpr base::TimeDelta kDefaultProcessStatsInterval = 29 base::TimeDelta::FromMilliseconds(2000); 30 31 // The video frame rate. 32 constexpr int kTargetFrameRate = 30; 33 34 } // namespace remoting 35 36 #endif // REMOTING_BASE_CONSTANTS_H_ 37