Index: remoting/host/config_file_watcher.cc |
diff --git a/remoting/host/config_file_watcher.cc b/remoting/host/config_file_watcher.cc |
index 9b95ed9cbf9c78ed4f93a8ca10abdc90315c1b43..a261017f48545fb4185860356f8f3e5315f62d98 100644 |
--- a/remoting/host/config_file_watcher.cc |
+++ b/remoting/host/config_file_watcher.cc |
@@ -24,9 +24,11 @@ const char kHostConfigSwitchName[] = "host-config"; |
const base::FilePath::CharType kDefaultHostConfigFile[] = |
FILE_PATH_LITERAL("host.json"); |
+#if defined(OS_WIN) |
// Maximum number of times to try reading the configuration file before |
// reporting an error. |
const int kMaxRetries = 3; |
+#endif // defined(OS_WIN) |
class ConfigFileWatcherImpl |
: public base::RefCountedThreadSafe<ConfigFileWatcherImpl> { |