Chromium Code Reviews| 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..6ac7b397e497c22aac557e5e08eee350e21f9816 100644 |
| --- a/content/child/site_isolation_policy.h |
| +++ b/content/child/site_isolation_policy.h |
| @@ -54,6 +54,8 @@ namespace content { |
| class CONTENT_EXPORT SiteIsolationPolicy { |
| public: |
| + // Set activation flag for the UMA data collection for this renderer process. |
| + static void SetPolicyEnabled(bool flag); |
|
Charlie Reis
2013/09/03 20:22:10
flag -> enabled
(here and in the .cc file)
dsjang
2013/09/03 22:31:30
Done.
|
| // Records the bookkeeping data about the HTTP header information for the |
| // request identified by |request_id|. The bookkeeping data is used by |
| @@ -63,6 +65,7 @@ class CONTENT_EXPORT SiteIsolationPolicy { |
| GURL& frame_origin, |
| GURL& response_url, |
| ResourceType::Type resource_type, |
| + int origin_pid, |
| const webkit_glue::ResourceResponseInfo& info); |
| // Examines the first network packet in case response_url is registered as a |
| @@ -167,6 +170,7 @@ private: |
| // decision. The key is a request id maintained by ResourceDispatcher. |
| static RequestIdToResultMap* GetRequestIdToResultMap(); |
| + static bool g_policy_enabled; |
|
Charlie Reis
2013/09/03 20:22:10
nit: Add comment about what this does (i.e., false
dsjang
2013/09/03 22:31:30
Done.
|
| // Never needs to be constructed/destructed. |
| SiteIsolationPolicy() {} |
| ~SiteIsolationPolicy() {} |