| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef REMOTING_SIGNALING_REMOTING_BOT_H_ | 5 #ifndef REMOTING_BASE_REMOTING_BOT_H_ |
| 6 #define REMOTING_SIGNALING_REMOTING_BOT_H_ | 6 #define REMOTING_BASE_REMOTING_BOT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace remoting { | 10 namespace remoting { |
| 11 | 11 |
| 12 // The JID of the remoting bot. | 12 // The JID of the remoting bot. |
| 13 const char kRemotingBotJid[] = "remoting@bot.talk.google.com"; | 13 const char kRemotingBotJid[] = "remoting@bot.talk.google.com"; |
| 14 | 14 |
| 15 #if !defined(NDEBUG) | 15 #if !defined(NDEBUG) |
| 16 // The JID of the remoting bot test instance. | 16 // The JID of the remoting bot test instance. |
| 17 const char kRemotingTestBotJid[] = "remoting-test@bot.talk.google.com"; | 17 const char kRemotingTestBotJid[] = "remoting-test@bot.talk.google.com"; |
| 18 #endif // !defined(NDEBUG) | 18 #endif // !defined(NDEBUG) |
| 19 | 19 |
| 20 // Returns true if |input| is a valid bot JID. | 20 // Returns true if |input| is a valid bot JID. |
| 21 bool IsValidBotJid(const std::string& input); | 21 bool IsValidBotJid(const std::string& input); |
| 22 | 22 |
| 23 } // namespace remoting | 23 } // namespace remoting |
| 24 | 24 |
| 25 #endif // REMOTING_BASE_REMOTING_BOT_H_ | 25 #endif // REMOTING_BASE_REMOTING_BOT_H_ |
| OLD | NEW |