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

Side by Side Diff: chrome/browser/sync/glue/synced_tab_delegate.h

Issue 15499005: Add a new SyncedTabDelegate for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add additional constructor. Created 7 years, 7 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
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 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/sessions/session_id.h" 10 #include "chrome/browser/sessions/session_id.h"
(...skipping 26 matching lines...) Expand all
37 // Methods from NavigationController. 37 // Methods from NavigationController.
38 38
39 virtual int GetCurrentEntryIndex() const = 0; 39 virtual int GetCurrentEntryIndex() const = 0;
40 virtual int GetEntryCount() const = 0; 40 virtual int GetEntryCount() const = 0;
41 virtual int GetPendingEntryIndex() const = 0; 41 virtual int GetPendingEntryIndex() const = 0;
42 virtual content::NavigationEntry* GetPendingEntry() const = 0; 42 virtual content::NavigationEntry* GetPendingEntry() const = 0;
43 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0; 43 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0;
44 virtual content::NavigationEntry* GetActiveEntry() const = 0; 44 virtual content::NavigationEntry* GetActiveEntry() const = 0;
45 45
46 virtual bool IsPinned() const = 0; 46 virtual bool IsPinned() const = 0;
47 virtual bool HasWebContents() const = 0;
47 }; 48 };
48 49
49 } // namespace browser_sync 50 } // namespace browser_sync
50 51
51 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ 52 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698