| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 13 #include "net/base/backoff_entry.h" | 15 #include "net/base/backoff_entry.h" |
| 14 #include "net/base/network_change_notifier.h" | 16 #include "net/base/network_change_notifier.h" |
| 15 | 17 |
| 16 namespace base { | 18 namespace base { |
| 17 class TickClock; | 19 class TickClock; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 scoped_ptr<net::BackoffEntry> exponential_backoff_; | 125 scoped_ptr<net::BackoffEntry> exponential_backoff_; |
| 124 | 126 |
| 125 base::WeakPtrFactory<AffiliationFetchThrottler> weak_ptr_factory_; | 127 base::WeakPtrFactory<AffiliationFetchThrottler> weak_ptr_factory_; |
| 126 | 128 |
| 127 DISALLOW_COPY_AND_ASSIGN(AffiliationFetchThrottler); | 129 DISALLOW_COPY_AND_ASSIGN(AffiliationFetchThrottler); |
| 128 }; | 130 }; |
| 129 | 131 |
| 130 } // namespace password_manager | 132 } // namespace password_manager |
| 131 | 133 |
| 132 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_
H_ | 134 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCH_THROTTLER_
H_ |
| OLD | NEW |