OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/site_details.h" | 5 #include "chrome/browser/site_details.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram_macros.h" |
8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
9 #include "content/public/browser/render_frame_host.h" | 9 #include "content/public/browser/render_frame_host.h" |
10 #include "content/public/browser/render_process_host.h" | 10 #include "content/public/browser/render_process_host.h" |
11 #include "url/origin.h" | 11 #include "url/origin.h" |
12 | 12 |
13 #if defined(ENABLE_EXTENSIONS) | 13 #if defined(ENABLE_EXTENSIONS) |
14 #include "extensions/browser/extension_registry.h" | 14 #include "extensions/browser/extension_registry.h" |
15 #include "extensions/common/constants.h" | 15 #include "extensions/common/constants.h" |
16 #include "extensions/common/extension.h" | 16 #include "extensions/common/extension.h" |
17 #endif | 17 #endif |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 UMA_HISTOGRAM_COUNTS_100( | 283 UMA_HISTOGRAM_COUNTS_100( |
284 "SiteIsolation.IsolateExtensionsProcessCountLowerBound", | 284 "SiteIsolation.IsolateExtensionsProcessCountLowerBound", |
285 process_count_lower_bound[ISOLATE_EXTENSIONS]); | 285 process_count_lower_bound[ISOLATE_EXTENSIONS]); |
286 UMA_HISTOGRAM_COUNTS_100( | 286 UMA_HISTOGRAM_COUNTS_100( |
287 "SiteIsolation.IsolateExtensionsProcessCountEstimate", | 287 "SiteIsolation.IsolateExtensionsProcessCountEstimate", |
288 process_count_estimate[ISOLATE_EXTENSIONS]); | 288 process_count_estimate[ISOLATE_EXTENSIONS]); |
289 UMA_HISTOGRAM_COUNTS_100( | 289 UMA_HISTOGRAM_COUNTS_100( |
290 "SiteIsolation.IsolateExtensionsTotalProcessCountEstimate", | 290 "SiteIsolation.IsolateExtensionsTotalProcessCountEstimate", |
291 process_count_estimate[ISOLATE_EXTENSIONS] + non_renderer_process_count); | 291 process_count_estimate[ISOLATE_EXTENSIONS] + non_renderer_process_count); |
292 } | 292 } |
OLD | NEW |