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

Side by Side Diff: content/browser/gamepad/gamepad_platform_data_fetcher_win.cc

Issue 866803003: Mechanical rename of tracing includes for /content [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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/gamepad/gamepad_platform_data_fetcher_win.h" 5 #include "content/browser/gamepad/gamepad_platform_data_fetcher_win.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/trace_event/trace_event.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "content/common/gamepad_hardware_buffer.h" 10 #include "content/common/gamepad_hardware_buffer.h"
11 #include "content/common/gamepad_messages.h" 11 #include "content/common/gamepad_messages.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 using namespace blink; 15 using namespace blink;
16 16
17 namespace { 17 namespace {
18 18
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 return false; 313 return false;
314 xinput_get_state_ = reinterpret_cast<XInputGetStateFunc>( 314 xinput_get_state_ = reinterpret_cast<XInputGetStateFunc>(
315 xinput_dll_.GetFunctionPointer("XInputGetState")); 315 xinput_dll_.GetFunctionPointer("XInputGetState"));
316 if (!xinput_get_state_) 316 if (!xinput_get_state_)
317 return false; 317 return false;
318 xinput_enable_(true); 318 xinput_enable_(true);
319 return true; 319 return true;
320 } 320 }
321 321
322 } // namespace content 322 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc ('k') | content/browser/gamepad/raw_input_data_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698