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 // Library functions related to the Financial Server ping. | 5 // Library functions related to the Financial Server ping. |
6 | 6 |
7 #ifndef RLZ_LIB_FINANCIAL_PING_H_ | 7 #ifndef RLZ_LIB_FINANCIAL_PING_H_ |
8 #define RLZ_LIB_FINANCIAL_PING_H_ | 8 #define RLZ_LIB_FINANCIAL_PING_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 #if defined(RLZ_NETWORK_IMPLEMENTATION_CHROME_NET) | 52 #if defined(RLZ_NETWORK_IMPLEMENTATION_CHROME_NET) |
53 static bool SetURLRequestContext(net::URLRequestContextGetter* context); | 53 static bool SetURLRequestContext(net::URLRequestContextGetter* context); |
54 #endif | 54 #endif |
55 | 55 |
56 private: | 56 private: |
57 FinancialPing() {} | 57 FinancialPing() {} |
58 ~FinancialPing() {} | 58 ~FinancialPing() {} |
59 }; | 59 }; |
60 | 60 |
| 61 #if defined(RLZ_NETWORK_IMPLEMENTATION_CHROME_NET) |
| 62 namespace test { |
| 63 void ResetSendFinancialPingInterrupted(); |
| 64 bool WasSendFinancialPingInterrupted(); |
| 65 } // namespace test |
| 66 #endif |
| 67 |
61 } // namespace rlz_lib | 68 } // namespace rlz_lib |
62 | 69 |
63 | 70 |
64 #endif // RLZ_LIB_FINANCIAL_PING_H_ | 71 #endif // RLZ_LIB_FINANCIAL_PING_H_ |
OLD | NEW |