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

Side by Side Diff: chrome/browser/ui/website_settings/website_settings.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/task/cancelable_task_tracker.h" 10 #include "base/task/cancelable_task_tracker.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status 74 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status
75 // object to determine the status of the site's connection. The 75 // object to determine the status of the site's connection. The
76 // |WebsiteSettings| takes ownership of the |ui|. 76 // |WebsiteSettings| takes ownership of the |ui|.
77 WebsiteSettings(WebsiteSettingsUI* ui, 77 WebsiteSettings(WebsiteSettingsUI* ui,
78 Profile* profile, 78 Profile* profile,
79 TabSpecificContentSettings* tab_specific_content_settings, 79 TabSpecificContentSettings* tab_specific_content_settings,
80 InfoBarService* infobar_service, 80 InfoBarService* infobar_service,
81 const GURL& url, 81 const GURL& url,
82 const content::SSLStatus& ssl, 82 const content::SSLStatus& ssl,
83 content::CertStore* cert_store); 83 content::CertStore* cert_store);
84 virtual ~WebsiteSettings(); 84 ~WebsiteSettings() override;
85 85
86 // This method is called when ever a permission setting is changed. 86 // This method is called when ever a permission setting is changed.
87 void OnSitePermissionChanged(ContentSettingsType type, 87 void OnSitePermissionChanged(ContentSettingsType type,
88 ContentSetting value); 88 ContentSetting value);
89 89
90 // Callback used for requests to fetch the number of page visits from history 90 // Callback used for requests to fetch the number of page visits from history
91 // service and the time of the first visit. 91 // service and the time of the first visit.
92 void OnGotVisitCountToHost(bool found_visits, 92 void OnGotVisitCountToHost(bool found_visits,
93 int visit_count, 93 int visit_count,
94 base::Time first_visit); 94 base::Time first_visit);
(...skipping 21 matching lines...) Expand all
116 116
117 base::string16 site_identity_details() const { 117 base::string16 site_identity_details() const {
118 return site_identity_details_; 118 return site_identity_details_;
119 } 119 }
120 120
121 base::string16 organization_name() const { 121 base::string16 organization_name() const {
122 return organization_name_; 122 return organization_name_;
123 } 123 }
124 124
125 // SiteDataObserver implementation. 125 // SiteDataObserver implementation.
126 virtual void OnSiteDataAccessed() override; 126 void OnSiteDataAccessed() override;
127 127
128 private: 128 private:
129 // Initializes the |WebsiteSettings|. 129 // Initializes the |WebsiteSettings|.
130 void Init(Profile* profile, 130 void Init(Profile* profile,
131 const GURL& url, 131 const GURL& url,
132 const content::SSLStatus& ssl); 132 const content::SSLStatus& ssl);
133 133
134 // Sets (presents) the information about the site's permissions in the |ui_|. 134 // Sets (presents) the information about the site's permissions in the |ui_|.
135 void PresentSitePermissions(); 135 void PresentSitePermissions();
136 136
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Service for managing SSL error page bypasses. Used to revoke bypass 220 // Service for managing SSL error page bypasses. Used to revoke bypass
221 // decisions by users. 221 // decisions by users.
222 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; 222 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_;
223 223
224 bool did_revoke_user_ssl_decisions_; 224 bool did_revoke_user_ssl_decisions_;
225 225
226 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); 226 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
227 }; 227 };
228 228
229 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 229 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698