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

Side by Side Diff: components/sync_sessions/fake_sync_sessions_client.h

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test broken by rebase Created 5 years, 1 month 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
(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 "base/macros.h"
9 #include "components/sync_sessions/sync_sessions_client.h"
10
11 namespace sync_sessions {
12
13 // Fake implementation of a SyncSessionsClient for testing.
14 class FakeSyncSessionsClient : public SyncSessionsClient {
15 public:
16 FakeSyncSessionsClient();
17 ~FakeSyncSessionsClient() override;
18
19 // SyncSessionsClient:
20 bool ShouldSyncURL(const GURL& url) const override;
21 browser_sync::SyncedWindowDelegatesGetter* GetSyncedWindowDelegatesGetter()
22 override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(FakeSyncSessionsClient);
26 };
27
28 } // namespace sync_sessions
29
30 #endif // COMPONENTS_SYNC_SESSIONS_FAKE_SYNC_SESSIONS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698