| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57f6fff296098a3c4cc7efd6ccc19395fb00fefc
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/android/tab_model/tab_model.cc
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/ui/android/tab_model/tab_model.h"
|
| +
|
| +#include "base/logging.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| +#include "content/public/browser/notification_service.h"
|
| +
|
| +#include "chrome/browser/sync/glue/synced_window_delegate.h"
|
| +#include "chrome/browser/sync/glue/synced_window_delegate_android.h"
|
| +using browser_sync::SyncedWindowDelegate;
|
| +using browser_sync::SyncedWindowDelegateAndroid;
|
| +
|
| +
|
| +using content::NotificationService;
|
| +
|
| +TabModel::TabModel() {
|
| +}
|
| +
|
| +TabModel::~TabModel() {
|
| +}
|
| +
|
| +void TabModel::BroadcastSessionRestoreComplete() {
|
| + DCHECK(GetProfile());
|
| + NotificationService::current()->Notify(
|
| + chrome::NOTIFICATION_SESSION_RESTORE_COMPLETE,
|
| + content::Source<Profile>(GetProfile()),
|
| + NotificationService::NoDetails());
|
| +}
|
|
|