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

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

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 #include "components/sync_sessions/fake_sync_sessions_client.h"
6
7 #include "url/gurl.h"
8
9 namespace sync_sessions {
10
11 FakeSyncSessionsClient::FakeSyncSessionsClient() {}
12 FakeSyncSessionsClient::~FakeSyncSessionsClient() {}
13
14 bool FakeSyncSessionsClient::ShouldSyncURL(const GURL& url) const {
15 return url.is_valid();
16 }
17
18 browser_sync::SyncedWindowDelegatesGetter*
19 FakeSyncSessionsClient::GetSyncedWindowDelegatesGetter() {
20 return nullptr;
21 }
22
23 } // namespace sync_sessions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698