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

Side by Side Diff: chrome/browser/site_details.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/signin/local_auth.cc ('k') | chrome/browser/ssl/captive_portal_blocking_page.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/local_auth.cc ('k') | chrome/browser/ssl/captive_portal_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698