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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_sessions/fake_sync_sessions_client.cc
diff --git a/components/sync_sessions/fake_sync_sessions_client.cc b/components/sync_sessions/fake_sync_sessions_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..da1ac974a810b87e5e61fd2a920711294d133c4d
--- /dev/null
+++ b/components/sync_sessions/fake_sync_sessions_client.cc
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/sync_sessions/fake_sync_sessions_client.h"
+
+#include "url/gurl.h"
+
+namespace sync_sessions {
+
+FakeSyncSessionsClient::FakeSyncSessionsClient() {}
+FakeSyncSessionsClient::~FakeSyncSessionsClient() {}
+
+bool FakeSyncSessionsClient::ShouldSyncURL(const GURL& url) const {
+ return url.is_valid();
+}
+
+browser_sync::SyncedWindowDelegatesGetter*
+FakeSyncSessionsClient::GetSyncedWindowDelegatesGetter() {
+ return nullptr;
+}
+
+} // namespace sync_sessions

Powered by Google App Engine
This is Rietveld 408576698