Index: content/child/site_isolation_policy.h |
diff --git a/content/child/site_isolation_policy.h b/content/child/site_isolation_policy.h |
index bf816a967b4298e60c485a6434d7fcdc75e01472..03847b65e57315be2291541e3e82ad9ea4ae8783 100644 |
--- a/content/child/site_isolation_policy.h |
+++ b/content/child/site_isolation_policy.h |
@@ -55,6 +55,9 @@ namespace content { |
class CONTENT_EXPORT SiteIsolationPolicy { |
public: |
+ // Set activation flag for the UMA data collection for this renderer process. |
+ static void SetPolicyActivationFlag(bool flag); |
Charlie Reis
2013/09/03 16:43:23
SetPolicyEnabled seems like a simpler name.
dsjang
2013/09/03 19:13:11
Done.
|
+ |
// Records the bookkeeping data about the HTTP header information for the |
// request identified by |request_id|. The bookkeeping data is used by |
// ShouldBlockResponse. We have to make sure to call OnRequestComplete to free |
@@ -167,6 +170,7 @@ private: |
// decision. The key is a request id maintained by ResourceDispatcher. |
static RequestIdToResultMap* GetRequestIdToResultMap(); |
+ static bool g_policy_activated; |
Charlie Reis
2013/09/03 16:43:23
g_policy_enabled
dsjang
2013/09/03 19:13:11
Done.
|
// Never needs to be constructed/destructed. |
SiteIsolationPolicy() {} |
~SiteIsolationPolicy() {} |