OLD | NEW |
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 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0; | 44 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0; |
45 virtual content::NavigationEntry* GetActiveEntry() const = 0; | 45 virtual content::NavigationEntry* GetActiveEntry() const = 0; |
46 | 46 |
47 // Managed user related methods. | 47 // Managed user related methods. |
48 | 48 |
49 virtual bool ProfileIsManaged() const = 0; | 49 virtual bool ProfileIsManaged() const = 0; |
50 virtual const std::vector<const content::NavigationEntry*>* | 50 virtual const std::vector<const content::NavigationEntry*>* |
51 GetBlockedNavigations() const = 0; | 51 GetBlockedNavigations() const = 0; |
52 | 52 |
53 virtual bool IsPinned() const = 0; | 53 virtual bool IsPinned() const = 0; |
| 54 virtual bool HasWebContents() const = 0; |
54 }; | 55 }; |
55 | 56 |
56 } // namespace browser_sync | 57 } // namespace browser_sync |
57 | 58 |
58 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 59 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
OLD | NEW |