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

Side by Side Diff: ui/events/ozone/device/udev/device_manager_udev.cc

Issue 2365623003: Remove unused thread.h include in trace_event_impl.h and fix IWUU. (Closed)
Patch Set: Whitelist base DEPS for all web/tests Created 4 years, 2 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 | « third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp ('k') | ui/gl/gl_context_cgl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/events/ozone/device/udev/device_manager_udev.h" 5 #include "ui/events/ozone/device/udev/device_manager_udev.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
13 #include "ui/events/ozone/device/device_event.h" 14 #include "ui/events/ozone/device/device_event.h"
14 #include "ui/events/ozone/device/device_event_observer.h" 15 #include "ui/events/ozone/device/device_event_observer.h"
15 16
16 namespace ui { 17 namespace ui {
17 18
18 namespace { 19 namespace {
19 20
20 const char* const kSubsystems[] = { 21 const char* const kSubsystems[] = {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 else if (!strcmp(action, "change")) 185 else if (!strcmp(action, "change"))
185 action_type = DeviceEvent::CHANGE; 186 action_type = DeviceEvent::CHANGE;
186 else 187 else
187 return nullptr; 188 return nullptr;
188 189
189 return base::MakeUnique<DeviceEvent>(device_type, action_type, 190 return base::MakeUnique<DeviceEvent>(device_type, action_type,
190 base::FilePath(path)); 191 base::FilePath(path));
191 } 192 }
192 193
193 } // namespace ui 194 } // namespace ui
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/VirtualTimeTest.cpp ('k') | ui/gl/gl_context_cgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698