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

Unified Diff: chrome/browser/chromeos/attestation/platform_verification_flow.h

Issue 979273003: Simplify PlatformVerificationFlow::CheckConsent() logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/attestation/platform_verification_flow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/attestation/platform_verification_flow.h
diff --git a/chrome/browser/chromeos/attestation/platform_verification_flow.h b/chrome/browser/chromeos/attestation/platform_verification_flow.h
index 09d9887d9b6822c6dc71acdb3397d98a87b3ac0e..3d3b0aaa946cf245ff26b5e2722c0fb7aa2cb8d1 100644
--- a/chrome/browser/chromeos/attestation/platform_verification_flow.h
+++ b/chrome/browser/chromeos/attestation/platform_verification_flow.h
@@ -257,18 +257,18 @@ class PlatformVerificationFlow
bool UpdateSettings(content::WebContents* web_contents,
ConsentResponse consent_response);
- // Finds the domain-specific consent pref in |content_settings| for |url|. If
- // a pref exists for the domain, returns true and sets |pref_value| if it is
+ // Finds the origin-specific consent pref in |content_settings| for |url|. If
+ // a pref exists for the origin, returns true and sets |pref_value| if it is
// not NULL.
- bool GetDomainPref(HostContentSettingsMap* content_settings,
+ bool GetOriginPref(HostContentSettingsMap* content_settings,
const GURL& url,
bool* pref_value);
- // Records the domain-specific consent pref in |content_settings| for |url|.
- // The pref will be set to |allow_domain|.
- void RecordDomainConsent(HostContentSettingsMap* content_settings,
+ // Records the origin-specific consent pref in |content_settings| for |url|.
+ // The pref will be set to |allow_origin|.
+ void RecordOriginConsent(HostContentSettingsMap* content_settings,
const GURL& url,
- bool allow_domain);
+ bool allow_origin);
// Returns true iff |certificate| is an expired X.509 certificate.
bool IsExpired(const std::string& certificate);
« no previous file with comments | « no previous file | chrome/browser/chromeos/attestation/platform_verification_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698