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

Side by Side Diff: chrome/browser/ui/android/tab_model/tab_model.cc

Issue 10701030: Refactor SyncedWindowDelegateAndroid into TabModel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated file names, made requested changes. Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698