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

Side by Side Diff: media/audio/audio_input_controller_unittest.cc

Issue 661163004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/audio/audio_input_controller.h ('k') | media/audio/audio_input_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 (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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "base/test/test_timeouts.h" 9 #include "base/test/test_timeouts.h"
10 #include "media/audio/audio_input_controller.h" 10 #include "media/audio/audio_input_controller.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const std::string& message)); 60 const std::string& message));
61 61
62 private: 62 private:
63 DISALLOW_COPY_AND_ASSIGN(MockAudioInputControllerEventHandler); 63 DISALLOW_COPY_AND_ASSIGN(MockAudioInputControllerEventHandler);
64 }; 64 };
65 65
66 // Test fixture. 66 // Test fixture.
67 class AudioInputControllerTest : public testing::Test { 67 class AudioInputControllerTest : public testing::Test {
68 public: 68 public:
69 AudioInputControllerTest() {} 69 AudioInputControllerTest() {}
70 virtual ~AudioInputControllerTest() {} 70 ~AudioInputControllerTest() override {}
71 71
72 protected: 72 protected:
73 base::MessageLoop message_loop_; 73 base::MessageLoop message_loop_;
74 74
75 private: 75 private:
76 DISALLOW_COPY_AND_ASSIGN(AudioInputControllerTest); 76 DISALLOW_COPY_AND_ASSIGN(AudioInputControllerTest);
77 }; 77 };
78 78
79 // Test AudioInputController for create and close without recording audio. 79 // Test AudioInputController for create and close without recording audio.
80 TEST_F(AudioInputControllerTest, CreateAndClose) { 80 TEST_F(AudioInputControllerTest, CreateAndClose) {
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 controller->Record(); 255 controller->Record();
256 256
257 controller->Close(base::MessageLoop::QuitClosure()); 257 controller->Close(base::MessageLoop::QuitClosure());
258 base::MessageLoop::current()->Run(); 258 base::MessageLoop::current()->Run();
259 259
260 controller->Close(base::MessageLoop::QuitClosure()); 260 controller->Close(base::MessageLoop::QuitClosure());
261 base::MessageLoop::current()->Run(); 261 base::MessageLoop::current()->Run();
262 } 262 }
263 263
264 } // namespace media 264 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/audio_input_controller.h ('k') | media/audio/audio_input_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698