OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_RETRY_VERIFIER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_RETRY_VERIFIER_H_ |
6 #define CHROME_BROWSER_SYNC_RETRY_VERIFIER_H_ | 6 #define CHROME_BROWSER_SYNC_RETRY_VERIFIER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/time.h" | 8 #include "base/time.h" |
10 | 9 |
11 namespace syncer { | 10 namespace syncer { |
12 namespace sessions { | 11 namespace sessions { |
13 class SyncSessionSnapshot; | 12 class SyncSessionSnapshot; |
14 } // namespace sessions | 13 } // namespace sessions |
15 } // namespace syncer | 14 } // namespace syncer |
16 | 15 |
17 namespace browser_sync { | 16 namespace browser_sync { |
(...skipping 27 matching lines...) Expand all Loading... |
45 base::Time last_sync_time_; | 44 base::Time last_sync_time_; |
46 DelayInfo delay_table_[kMaxRetry]; | 45 DelayInfo delay_table_[kMaxRetry]; |
47 bool success_; | 46 bool success_; |
48 bool done_; | 47 bool done_; |
49 DISALLOW_COPY_AND_ASSIGN(RetryVerifier); | 48 DISALLOW_COPY_AND_ASSIGN(RetryVerifier); |
50 }; | 49 }; |
51 | 50 |
52 } // namespace browser_sync | 51 } // namespace browser_sync |
53 | 52 |
54 #endif // CHROME_BROWSER_SYNC_RETRY_VERIFIER_H_ | 53 #endif // CHROME_BROWSER_SYNC_RETRY_VERIFIER_H_ |
OLD | NEW |