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

Side by Side Diff: chrome/browser/sync/glue/synced_window_delegate_android.cc

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/glue/synced_window_delegate_android.h" 5 #include "chrome/browser/sync/glue/synced_window_delegate_android.h"
6 6
7 #include "chrome/browser/android/tab_android.h" 7 #include "chrome/browser/android/tab_android.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync/glue/synced_tab_delegate_android.h" 9 #include "chrome/browser/sync/glue/synced_tab_delegate_android.h"
10 #include "chrome/browser/ui/android/tab_model/tab_model.h" 10 #include "chrome/browser/ui/android/tab_model/tab_model.h"
11 #include "chrome/browser/ui/android/tab_model/tab_model_list.h" 11 #include "chrome/browser/ui/android/tab_model/tab_model_list.h"
12 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
13 13
14 using sync_sessions::SyncedTabDelegate;
15
14 namespace browser_sync { 16 namespace browser_sync {
15 17
16 // SyncedWindowDelegateAndroid implementations 18 // SyncedWindowDelegateAndroid implementations
17 19
18 SyncedWindowDelegateAndroid::SyncedWindowDelegateAndroid( 20 SyncedWindowDelegateAndroid::SyncedWindowDelegateAndroid(
19 TabModel* tab_model) 21 TabModel* tab_model)
20 : tab_model_(tab_model) {} 22 : tab_model_(tab_model) {}
21 23
22 SyncedWindowDelegateAndroid::~SyncedWindowDelegateAndroid() {} 24 SyncedWindowDelegateAndroid::~SyncedWindowDelegateAndroid() {}
23 25
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 69
68 bool SyncedWindowDelegateAndroid::IsSessionRestoreInProgress() const { 70 bool SyncedWindowDelegateAndroid::IsSessionRestoreInProgress() const {
69 return tab_model_->IsSessionRestoreInProgress(); 71 return tab_model_->IsSessionRestoreInProgress();
70 } 72 }
71 73
72 bool SyncedWindowDelegateAndroid::ShouldSync() const { 74 bool SyncedWindowDelegateAndroid::ShouldSync() const {
73 return true; 75 return true;
74 } 76 }
75 77
76 } // namespace browser_sync 78 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698