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

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

Issue 2479683006: [Sync] Add support for identifying tabbed activites (Closed)
Patch Set: Self review Created 4 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 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 be9d5d6bbb93dcabeddde4003052318294d52ed6..57183ba3db3381385a1212052a0ba6017b59478a 100644
--- a/chrome/browser/sync/glue/synced_window_delegate_android.cc
+++ b/chrome/browser/sync/glue/synced_window_delegate_android.cc
@@ -18,8 +18,9 @@ namespace browser_sync {
// SyncedWindowDelegateAndroid implementations
SyncedWindowDelegateAndroid::SyncedWindowDelegateAndroid(
- TabModel* tab_model)
- : tab_model_(tab_model) {}
+ TabModel* tab_model,
+ bool is_tabbed_activity)
+ : tab_model_(tab_model), is_tabbed_activity_(is_tabbed_activity) {}
SyncedWindowDelegateAndroid::~SyncedWindowDelegateAndroid() {}
@@ -44,7 +45,7 @@ bool SyncedWindowDelegateAndroid::IsApp() const {
}
bool SyncedWindowDelegateAndroid::IsTypeTabbed() const {
- return true;
+ return is_tabbed_activity_;
}
bool SyncedWindowDelegateAndroid::IsTypePopup() const {
« no previous file with comments | « chrome/browser/sync/glue/synced_window_delegate_android.h ('k') | chrome/browser/ui/android/tab_model/tab_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698