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

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

Issue 13483010: Add UI notifications for admin-provided SSL certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 8 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/string16.h" 9 #include "base/string16.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // The website provided a valid certificate but no revocation check could be 54 // The website provided a valid certificate but no revocation check could be
55 // performed. 55 // performed.
56 SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN, 56 SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN,
57 // Site identity could not be verified because the site did not provide a 57 // Site identity could not be verified because the site did not provide a
58 // certificate. This is the expected state for HTTP connections. 58 // certificate. This is the expected state for HTTP connections.
59 SITE_IDENTITY_STATUS_NO_CERT, 59 SITE_IDENTITY_STATUS_NO_CERT,
60 // An error occured while verifying the site identity. 60 // An error occured while verifying the site identity.
61 SITE_IDENTITY_STATUS_ERROR, 61 SITE_IDENTITY_STATUS_ERROR,
62 // The site is a trusted internal chrome page. 62 // The site is a trusted internal chrome page.
63 SITE_IDENTITY_STATUS_INTERNAL_PAGE, 63 SITE_IDENTITY_STATUS_INTERNAL_PAGE,
64 // The profile has accessed data using an administrator-provided
65 // certificate, so the site might be able to intercept data.
66 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT,
64 }; 67 };
65 68
66 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status 69 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status
67 // object to determine the status of the site's connection. The 70 // object to determine the status of the site's connection. The
68 // |WebsiteSettings| takes ownership of the |ui|. 71 // |WebsiteSettings| takes ownership of the |ui|.
69 WebsiteSettings(WebsiteSettingsUI* ui, 72 WebsiteSettings(WebsiteSettingsUI* ui,
70 Profile* profile, 73 Profile* profile,
71 TabSpecificContentSettings* tab_specific_content_settings, 74 TabSpecificContentSettings* tab_specific_content_settings,
72 InfoBarService* infobar_service, 75 InfoBarService* infobar_service,
73 const GURL& url, 76 const GURL& url,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // content settings (aka. site permissions). 192 // content settings (aka. site permissions).
190 HostContentSettingsMap* content_settings_; 193 HostContentSettingsMap* content_settings_;
191 194
192 // Used to request the number of page visits. 195 // Used to request the number of page visits.
193 CancelableRequestConsumer visit_count_request_consumer_; 196 CancelableRequestConsumer visit_count_request_consumer_;
194 197
195 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); 198 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
196 }; 199 };
197 200
198 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 201 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698