OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ |
6 #define CHROME_BROWSER_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ | 6 #define CHROME_BROWSER_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" |
13 #include "components/invalidation/impl/invalidator_registrar.h" | 13 #include "components/invalidation/impl/invalidator_registrar.h" |
14 #include "components/invalidation/impl/mock_ack_handler.h" | 14 #include "components/invalidation/impl/mock_ack_handler.h" |
15 #include "components/invalidation/public/invalidation_service.h" | 15 #include "components/invalidation/public/invalidation_service.h" |
16 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" | 16 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" |
17 #include "google_apis/gaia/fake_identity_provider.h" | 17 #include "google_apis/gaia/fake_identity_provider.h" |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 class Invalidation; | 20 class Invalidation; |
21 } | 21 } |
22 | 22 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 syncer::MockAckHandler mock_ack_handler_; | 63 syncer::MockAckHandler mock_ack_handler_; |
64 FakeProfileOAuth2TokenService token_service_; | 64 FakeProfileOAuth2TokenService token_service_; |
65 FakeIdentityProvider identity_provider_; | 65 FakeIdentityProvider identity_provider_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(FakeInvalidationService); | 67 DISALLOW_COPY_AND_ASSIGN(FakeInvalidationService); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace invalidation | 70 } // namespace invalidation |
71 | 71 |
72 #endif // CHROME_BROWSER_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ | 72 #endif // CHROME_BROWSER_INVALIDATION_FAKE_INVALIDATION_SERVICE_H_ |
OLD | NEW |