OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_SYNC_SESSIONS_FAKE_SYNC_SESSIONS_CLIENT_H_ |
| 6 #define COMPONENTS_SYNC_SESSIONS_FAKE_SYNC_SESSIONS_CLIENT_H_ |
| 7 |
| 8 #include "components/sync_sessions/sync_sessions_client.h" |
| 9 |
| 10 namespace sync_sessions { |
| 11 |
| 12 // Fake implementation of a SyncSessionsClient for testing. |
| 13 class FakeSyncSessionsClient : public SyncSessionsClient { |
| 14 public: |
| 15 FakeSyncSessionsClient(); |
| 16 ~FakeSyncSessionsClient() override; |
| 17 |
| 18 // SyncSessionsClient: |
| 19 bool ShouldSyncURL(const GURL& url) const override; |
| 20 }; |
| 21 |
| 22 } // namespace sync_sessions |
| 23 |
| 24 #endif // COMPONENTS_SYNC_SESSIONS_FAKE_SYNC_SESSIONS_CLIENT_H_ |
OLD | NEW |