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

Side by Side Diff: content/browser/media/capture/web_contents_audio_input_stream_unittest.cc

Issue 678073006: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bogus formatting 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/media/capture/web_contents_audio_input_stream.h" 5 #include "content/browser/media/capture/web_contents_audio_input_stream.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 mock_tracker_(new MockWebContentsTracker()), 181 mock_tracker_(new MockWebContentsTracker()),
182 mock_vais_(NULL), 182 mock_vais_(NULL),
183 wcais_(NULL), 183 wcais_(NULL),
184 destination_(NULL), 184 destination_(NULL),
185 current_render_process_id_(kRenderProcessId), 185 current_render_process_id_(kRenderProcessId),
186 current_render_frame_id_(kRenderFrameId), 186 current_render_frame_id_(kRenderFrameId),
187 on_data_event_(false, false) { 187 on_data_event_(false, false) {
188 audio_thread_.Start(); 188 audio_thread_.Start();
189 } 189 }
190 190
191 virtual ~WebContentsAudioInputStreamTest() { 191 ~WebContentsAudioInputStreamTest() override {
192 audio_thread_.Stop(); 192 audio_thread_.Stop();
193 thread_bundle_.reset(); 193 thread_bundle_.reset();
194 194
195 DCHECK(!mock_vais_); 195 DCHECK(!mock_vais_);
196 DCHECK(!wcais_); 196 DCHECK(!wcais_);
197 EXPECT_FALSE(destination_); 197 EXPECT_FALSE(destination_);
198 DCHECK(streams_.empty()); 198 DCHECK(streams_.empty());
199 DCHECK(sources_.empty()); 199 DCHECK(sources_.empty());
200 } 200 }
201 201
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 WaitForData(); 499 WaitForData();
500 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); 500 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder);
501 WaitForData(); 501 WaitForData();
502 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget); 502 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget);
503 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); 503 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder);
504 RUN_ON_AUDIO_THREAD(Stop); 504 RUN_ON_AUDIO_THREAD(Stop);
505 RUN_ON_AUDIO_THREAD(Close); 505 RUN_ON_AUDIO_THREAD(Close);
506 } 506 }
507 507
508 } // namespace content 508 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698