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

Side by Side Diff: chrome/common/net/notifier/communicator/auto_reconnect.h

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/common/net/notifier/base/win/time_win32.cc ('k') | chrome/common/net/notifier/communicator/auto_reconnect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698