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

Side by Side Diff: media/base/user_input_monitor_mac.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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 | « media/base/user_input_monitor_linux.cc ('k') | media/base/user_input_monitor_unittest.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 "media/base/user_input_monitor.h" 5 #include "media/base/user_input_monitor.h"
6 6
7 #include <ApplicationServices/ApplicationServices.h> 7 #include <ApplicationServices/ApplicationServices.h>
8 #include <stddef.h>
9
10 #include "base/macros.h"
8 11
9 namespace media { 12 namespace media {
10 namespace { 13 namespace {
11 14
12 class UserInputMonitorMac : public UserInputMonitor { 15 class UserInputMonitorMac : public UserInputMonitor {
13 public: 16 public:
14 UserInputMonitorMac(); 17 UserInputMonitorMac();
15 ~UserInputMonitorMac() override; 18 ~UserInputMonitorMac() override;
16 19
17 size_t GetKeyPressCount() const override; 20 size_t GetKeyPressCount() const override;
(...skipping 30 matching lines...) Expand all
48 51
49 } // namespace 52 } // namespace
50 53
51 scoped_ptr<UserInputMonitor> UserInputMonitor::Create( 54 scoped_ptr<UserInputMonitor> UserInputMonitor::Create(
52 const scoped_refptr<base::SingleThreadTaskRunner>& input_task_runner, 55 const scoped_refptr<base::SingleThreadTaskRunner>& input_task_runner,
53 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { 56 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) {
54 return scoped_ptr<UserInputMonitor>(new UserInputMonitorMac()); 57 return scoped_ptr<UserInputMonitor>(new UserInputMonitorMac());
55 } 58 }
56 59
57 } // namespace media 60 } // namespace media
OLDNEW
« no previous file with comments | « media/base/user_input_monitor_linux.cc ('k') | media/base/user_input_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698