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

Unified Diff: chrome/browser/sync/glue/synced_window_delegate_android.cc

Issue 1310373009: [Sync] Remove static methods on SyncedWindowDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 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_window_delegate_android.cc
diff --git a/chrome/browser/sync/glue/synced_window_delegate_android.cc b/chrome/browser/sync/glue/synced_window_delegate_android.cc
index df77f1025f394b241fb9157df1b65dfcf122820a..e0839dc4ad7b4233449cf55be7d8c61b19fe3d2e 100644
--- a/chrome/browser/sync/glue/synced_window_delegate_android.cc
+++ b/chrome/browser/sync/glue/synced_window_delegate_android.cc
@@ -13,25 +13,6 @@
namespace browser_sync {
-// SyncedWindowDelegate implementations
-
-std::set<SyncedWindowDelegate const*> SyncedWindowDelegate::GetAll() {
- std::set<SyncedWindowDelegate const*> synced_window_delegates;
- for (TabModelList::const_iterator i = TabModelList::begin();
- i != TabModelList::end(); ++i) {
- synced_window_delegates.insert((*i)->GetSyncedWindowDelegate());
- }
- return synced_window_delegates;
-}
-
-const SyncedWindowDelegate* SyncedWindowDelegate::FindById(
- SessionID::id_type session_id) {
- TabModel* tab_model = TabModelList::FindTabModelWithId(session_id);
-
- // In case we don't find the browser (e.g. for Developer Tools).
- return tab_model ? tab_model->GetSyncedWindowDelegate() : NULL;
-}
-
// SyncedWindowDelegateAndroid implementations
SyncedWindowDelegateAndroid::SyncedWindowDelegateAndroid(
« no previous file with comments | « chrome/browser/sync/glue/synced_window_delegate.h ('k') | chrome/browser/sync/glue/synced_window_delegates_getter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698