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

Side by Side Diff: content/browser/renderer_host/media/media_stream_ui_controller_unittest.cc

Issue 19618002: Use a direct include of the message_loop header in content/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/browser/browser_thread_impl.h" 9 #include "content/browser/browser_thread_impl.h"
10 #include "content/browser/renderer_host/media/media_stream_settings_requester.h"
10 #include "content/browser/renderer_host/media/media_stream_ui_controller.h" 11 #include "content/browser/renderer_host/media/media_stream_ui_controller.h"
11 #include "content/browser/renderer_host/media/media_stream_settings_requester.h"
12 #include "content/common/media/media_stream_options.h" 12 #include "content/common/media/media_stream_options.h"
13 #include "content/public/common/media_stream_request.h" 13 #include "content/public/common/media_stream_request.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using testing::_; 17 using testing::_;
18 18
19 namespace content { 19 namespace content {
20 20
21 class MediaStreamDeviceUIControllerTest 21 class MediaStreamDeviceUIControllerTest
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 EXPECT_CALL(*this, DevicesAccepted(label_1, _)); 161 EXPECT_CALL(*this, DevicesAccepted(label_1, _));
162 EXPECT_CALL(*this, DevicesAccepted(label_2, _)); 162 EXPECT_CALL(*this, DevicesAccepted(label_2, _));
163 163
164 message_loop_->RunUntilIdle(); 164 message_loop_->RunUntilIdle();
165 165
166 ui_controller_->NotifyUIIndicatorDevicesClosed(label_1); 166 ui_controller_->NotifyUIIndicatorDevicesClosed(label_1);
167 ui_controller_->NotifyUIIndicatorDevicesClosed(label_2); 167 ui_controller_->NotifyUIIndicatorDevicesClosed(label_2);
168 } 168 }
169 169
170 } // namespace content 170 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698