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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.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/ui/android/tab_model/tab_model.cc
diff --git a/chrome/browser/ui/android/tab_model/tab_model.cc b/chrome/browser/ui/android/tab_model/tab_model.cc
index 91e35488079b8d0e69c2b9d378c6698bb960a697..f4c5e39246fff408c481cf180b77c188ac18a3c0 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.cc
+++ b/chrome/browser/ui/android/tab_model/tab_model.cc
@@ -20,11 +20,12 @@ using content::NotificationService;
// chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabList.java
static int INVALID_TAB_INDEX = -1;
-TabModel::TabModel(Profile* profile)
+TabModel::TabModel(Profile* profile, bool is_tabbed_activity)
: profile_(profile),
live_tab_context_(new AndroidLiveTabContext(this)),
synced_window_delegate_(
- new browser_sync::SyncedWindowDelegateAndroid(this)) {
+ new browser_sync::SyncedWindowDelegateAndroid(this,
+ is_tabbed_activity)) {
if (profile) {
// A normal Profile creates an OTR profile if it does not exist when
// GetOffTheRecordProfile() is called, so we guard it with
« no previous file with comments | « chrome/browser/ui/android/tab_model/tab_model.h ('k') | chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698