| Index: chrome/browser/extensions/extension_tab_util.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_tab_util.h (revision 150331)
|
| +++ chrome/browser/extensions/extension_tab_util.h (working copy)
|
| @@ -37,6 +37,11 @@
|
| // Provides various utility functions that help manipulate tabs.
|
| class ExtensionTabUtil {
|
| public:
|
| + enum PrivacyFlags {
|
| + INCLUDE_PRIVACY_SENSITIVE_FIELDS,
|
| + OMIT_PRIVACY_SENSITIVE_FIELDS
|
| + };
|
| +
|
| static int GetWindowId(const Browser* browser);
|
| static int GetWindowIdOfTabStripModel(const TabStripModel* tab_strip_model);
|
| static int GetTabId(const content::WebContents* web_contents);
|
| @@ -49,6 +54,10 @@
|
| const content::WebContents* web_contents,
|
| TabStripModel* tab_strip,
|
| int tab_index);
|
| + static base::DictionaryValue* CreateTabValue(
|
| + const content::WebContents* web_contents,
|
| + TabStripModel* tab_strip,
|
| + int tab_index, PrivacyFlags flag);
|
| // Create a tab value, overriding its kSelectedKey to the provided boolean.
|
| static base::DictionaryValue* CreateTabValueActive(
|
| const content::WebContents* web_contents,
|
|
|