OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/ui/android/tab_model/tab_model.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "chrome/common/chrome_notification_types.h" |
| 9 #include "content/public/browser/notification_service.h" |
| 10 |
| 11 #include "chrome/browser/sync/glue/synced_window_delegate.h" |
| 12 #include "chrome/browser/sync/glue/synced_window_delegate_android.h" |
| 13 using browser_sync::SyncedWindowDelegate; |
| 14 using browser_sync::SyncedWindowDelegateAndroid; |
| 15 |
| 16 |
| 17 using content::NotificationService; |
| 18 |
| 19 TabModel::TabModel() { |
| 20 } |
| 21 |
| 22 TabModel::~TabModel() { |
| 23 } |
| 24 |
| 25 void TabModel::BroadcastSessionRestoreComplete() { |
| 26 DCHECK(GetProfile()); |
| 27 NotificationService::current()->Notify( |
| 28 chrome::NOTIFICATION_SESSION_RESTORE_COMPLETE, |
| 29 content::Source<Profile>(GetProfile()), |
| 30 NotificationService::NoDetails()); |
| 31 } |
OLD | NEW |