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

Side by Side Diff: content/browser/renderer_host/media/media_stream_ui_proxy_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/renderer_host/media/media_stream_ui_proxy.h" 5 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "content/browser/renderer_host/render_view_host_delegate.h" 8 #include "content/browser/renderer_host/render_view_host_delegate.h"
9 #include "content/public/common/renderer_preferences.h" 9 #include "content/public/common/renderer_preferences.h"
10 #include "content/public/test/test_browser_thread.h" 10 #include "content/public/test/test_browser_thread.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 14
15 using testing::_; 15 using testing::_;
16 using testing::SaveArg; 16 using testing::SaveArg;
17 17
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 base::Unretained(&stop_handler))); 210 base::Unretained(&stop_handler)));
211 message_loop_.RunUntilIdle(); 211 message_loop_.RunUntilIdle();
212 212
213 ASSERT_FALSE(stop_callback.is_null()); 213 ASSERT_FALSE(stop_callback.is_null());
214 EXPECT_CALL(stop_handler, OnStop()); 214 EXPECT_CALL(stop_handler, OnStop());
215 stop_callback.Run(); 215 stop_callback.Run();
216 message_loop_.RunUntilIdle(); 216 message_loop_.RunUntilIdle();
217 } 217 }
218 218
219 } // content 219 } // content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698