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

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

Issue 1853033003: Fix IWYU violators that don't include scoped_ptr.h in Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 <windows.h> 7 #include <windows.h>
8 #include <psapi.h> 8 #include <psapi.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 void BrowserAccessibilityStateImpl::UpdatePlatformSpecificHistograms() { 19 void BrowserAccessibilityStateImpl::UpdatePlatformSpecificHistograms() {
19 // NOTE: this method is run from the file thread to reduce jank, since 20 // NOTE: this method is run from the file thread to reduce jank, since
20 // there's no guarantee these system calls will return quickly. Be careful 21 // there's no guarantee these system calls will return quickly. Be careful
21 // not to add any code that isn't safe to run from a non-main thread! 22 // not to add any code that isn't safe to run from a non-main thread!
22 23
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 zoomtext = true; 71 zoomtext = true;
71 } 72 }
72 73
73 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinJAWS", jaws); 74 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinJAWS", jaws);
74 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinNVDA", nvda); 75 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinNVDA", nvda);
75 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinSAToGo", satogo); 76 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinSAToGo", satogo);
76 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinZoomText", zoomtext); 77 UMA_HISTOGRAM_BOOLEAN("Accessibility.WinZoomText", zoomtext);
77 } 78 }
78 79
79 } // namespace content 80 } // namespace content
OLDNEW
« no previous file with comments | « components/sessions/core/base_session_service.h ('k') | content/browser/fileapi/dragged_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698