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

Side by Side Diff: chrome/browser/sync/test/integration/fake_server_invalidation_service.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/invalidation/impl/invalidator_registrar.h" 12 #include "components/invalidation/impl/invalidator_registrar.h"
13 #include "components/invalidation/public/invalidation_service.h" 13 #include "components/invalidation/public/invalidation_service.h"
14 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" 14 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h"
15 #include "components/sync/base/model_type.h"
16 #include "components/sync/test/fake_server/fake_server.h"
15 #include "google_apis/gaia/fake_identity_provider.h" 17 #include "google_apis/gaia/fake_identity_provider.h"
16 #include "sync/internal_api/public/base/model_type.h"
17 #include "sync/test/fake_server/fake_server.h"
18 18
19 namespace invalidation { 19 namespace invalidation {
20 class InvalidationLogger; 20 class InvalidationLogger;
21 } 21 }
22 22
23 namespace fake_server { 23 namespace fake_server {
24 24
25 // An InvalidationService that is used in conjunction with FakeServer. 25 // An InvalidationService that is used in conjunction with FakeServer.
26 class FakeServerInvalidationService : public invalidation::InvalidationService, 26 class FakeServerInvalidationService : public invalidation::InvalidationService,
27 public FakeServer::Observer { 27 public FakeServer::Observer {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 syncer::InvalidatorRegistrar invalidator_registrar_; 59 syncer::InvalidatorRegistrar invalidator_registrar_;
60 FakeProfileOAuth2TokenService token_service_; 60 FakeProfileOAuth2TokenService token_service_;
61 FakeIdentityProvider identity_provider_; 61 FakeIdentityProvider identity_provider_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(FakeServerInvalidationService); 63 DISALLOW_COPY_AND_ASSIGN(FakeServerInvalidationService);
64 }; 64 };
65 65
66 } // namespace fake_server 66 } // namespace fake_server
67 67
68 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE _H_ 68 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_FAKE_SERVER_INVALIDATION_SERVICE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698