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

Unified Diff: chrome/browser/sync/glue/synced_session_util.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, 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: chrome/browser/sync/glue/synced_session_util.h
diff --git a/chrome/browser/sync/glue/synced_session_util.h b/chrome/browser/sync/glue/synced_session_util.h
deleted file mode 100644
index 3dff8de8370adba8be2d9bb490da47d74bad3117..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/synced_session_util.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_
-#define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_
-
-class GURL;
-
-namespace sessions {
-struct SessionTab;
-struct SessionWindow;
-}
-
-namespace browser_sync {
-
-// Checks if the given url is considered interesting enough to sync. Most urls
-// are considered interesting, examples of ones that are not are invalid urls,
-// files, and chrome internal pages.
-bool ShouldSyncURL(const GURL& url);
-
-// Returns if the tab has any navigation entries worth syncing or not.
-bool ShouldSyncSessionTab(const sessions::SessionTab& tab);
-
-// Returns if the window has any tabs worth syncing or not.
-bool ShouldSyncSessionWindow(const sessions::SessionWindow& window);
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698