| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ | 5 #ifndef CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ |
| 6 #define CHROME_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ | 6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/sync/notifier/base/time.h" | 10 #include "chrome/common/net/notifier/base/time.h" |
| 11 #include "chrome/browser/sync/notifier/communicator/login.h" | 11 #include "chrome/common/net/notifier/communicator/login.h" |
| 12 #include "talk/base/sigslot.h" | 12 #include "talk/base/sigslot.h" |
| 13 | 13 |
| 14 namespace talk_base { | 14 namespace talk_base { |
| 15 class Task; | 15 class Task; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace notifier { | 18 namespace notifier { |
| 19 | 19 |
| 20 class NetworkStatusDetectorTask; | 20 class NetworkStatusDetectorTask; |
| 21 class Timer; | 21 class Timer; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // Wait 2 seconds until after we actually connect to reset reconnect related | 65 // Wait 2 seconds until after we actually connect to reset reconnect related |
| 66 // items. | 66 // items. |
| 67 // | 67 // |
| 68 // The reason for this delay is to avoid the situation in which buzz is trying | 68 // The reason for this delay is to avoid the situation in which buzz is trying |
| 69 // to block the client due to abuse and the client responses by going into | 69 // to block the client due to abuse and the client responses by going into |
| 70 // rapid reconnect mode, which makes the problem more severe. | 70 // rapid reconnect mode, which makes the problem more severe. |
| 71 extern const int kResetReconnectInfoDelaySec; | 71 extern const int kResetReconnectInfoDelaySec; |
| 72 | 72 |
| 73 } // namespace notifier | 73 } // namespace notifier |
| 74 | 74 |
| 75 #endif // CHROME_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ | 75 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_AUTO_RECONNECT_H_ |
| OLD | NEW |