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

Side by Side Diff: content/browser/gamepad/gamepad_test_helpers.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (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 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_ 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_ 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
12 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
13 #include "content/browser/gamepad/gamepad_data_fetcher.h" 14 #include "content/browser/gamepad/gamepad_data_fetcher.h"
14 #include "third_party/WebKit/public/platform/WebGamepads.h" 15 #include "third_party/WebKit/public/platform/WebGamepads.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 class GamepadService; 19 class GamepadService;
19 20
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 // Pointer owned by the provider (which is owned by the gamepad service). 83 // Pointer owned by the provider (which is owned by the gamepad service).
83 MockGamepadDataFetcher* data_fetcher_; 84 MockGamepadDataFetcher* data_fetcher_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(GamepadServiceTestConstructor); 86 DISALLOW_COPY_AND_ASSIGN(GamepadServiceTestConstructor);
86 }; 87 };
87 88
88 } // namespace content 89 } // namespace content
89 90
90 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_ 91 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_service_unittest.cc ('k') | content/browser/gamepad/gamepad_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698