| Index: chrome/browser/ui/website_settings/website_settings_ui.h
|
| diff --git a/chrome/browser/ui/website_settings/website_settings_ui.h b/chrome/browser/ui/website_settings/website_settings_ui.h
|
| index e159df08344b2f23f6946ab054c4c67b5f5add4a..e3162890a4e296808ab603cb26747becaabf34da 100644
|
| --- a/chrome/browser/ui/website_settings/website_settings_ui.h
|
| +++ b/chrome/browser/ui/website_settings/website_settings_ui.h
|
| @@ -37,8 +37,9 @@ class WebsiteSettingsUI {
|
| // The Website Settings UI contains several tabs. Each tab is assiciated with
|
| // a unique tab id. The enum |TabId| contains all the ids for the tabs.
|
| enum TabId {
|
| - TAB_ID_PERMISSIONS,
|
| + TAB_ID_PERMISSIONS = 0,
|
| TAB_ID_CONNECTION,
|
| + NUM_TAB_IDS,
|
| };
|
|
|
| // |CookieInfo| contains information about the cookies from a specific source.
|
| @@ -142,9 +143,7 @@ class WebsiteSettingsUI {
|
| virtual void SetFirstVisit(const string16& first_visit) = 0;
|
|
|
| // Selects the tab with the given |tab_id|.
|
| - // TODO(markusheintz): Implement this on other platforms and make it a pure
|
| - // virtual function.
|
| - virtual void SetSelectedTab(TabId tab_id) {}
|
| + virtual void SetSelectedTab(TabId tab_id) = 0;
|
| };
|
|
|
| typedef WebsiteSettingsUI::CookieInfoList CookieInfoList;
|
|
|