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

Side by Side Diff: content/browser/accessibility/browser_accessibility_state_impl_win.cc

Issue 2303653005: Migrate content/ 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 | « no previous file | content/browser/android/content_video_view.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/accessibility/browser_accessibility_state_impl.h" 5 #include "content/browser/accessibility/browser_accessibility_state_impl.h"
6 6
7 #include <psapi.h> 7 #include <psapi.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 void BrowserAccessibilityStateImpl::UpdatePlatformSpecificHistograms() { 20 void BrowserAccessibilityStateImpl::UpdatePlatformSpecificHistograms() {
21 // NOTE: this method is run from the file thread to reduce jank, since 21 // NOTE: this method is run from the file thread to reduce jank, since
22 // there's no guarantee these system calls will return quickly. Be careful 22 // there's no guarantee these system calls will return quickly. Be careful
23 // not to add any code that isn't safe to run from a non-main thread! 23 // not to add any code that isn't safe to run from a non-main thread!
24 24
25 AUDIODESCRIPTION audio_description = {0}; 25 AUDIODESCRIPTION audio_description = {0};
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 zoomtext = true; 72 zoomtext = true;
73 } 73 }
74 74
75 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinJAWS", jaws); 75 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinJAWS", jaws);
76 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinNVDA", nvda); 76 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinNVDA", nvda);
77 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinSAToGo", satogo); 77 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinSAToGo", satogo);
78 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinZoomText", zoomtext); 78 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinZoomText", zoomtext);
79 } 79 }
80 80
81 } // namespace content 81 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_video_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698