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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 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/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "content/browser/frame_host/render_frame_host_delegate.h" 8 #include "content/browser/frame_host/render_frame_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/geometry/rect.h"
14 14
15 using testing::_; 15 using testing::_;
16 using testing::Return; 16 using testing::Return;
17 using testing::SaveArg; 17 using testing::SaveArg;
18 18
19 namespace content { 19 namespace content {
20 namespace { 20 namespace {
21 21
22 class MockRenderFrameHostDelegate : public RenderFrameHostDelegate { 22 class MockRenderFrameHostDelegate : public RenderFrameHostDelegate {
23 public: 23 public:
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 0, 256 0,
257 0, 257 0,
258 base::Bind(&MockResponseCallback::OnCheckResponse, 258 base::Bind(&MockResponseCallback::OnCheckResponse,
259 base::Unretained(&response_callback_))); 259 base::Unretained(&response_callback_)));
260 EXPECT_CALL(delegate_, CheckMediaAccessPermission(_, _)); 260 EXPECT_CALL(delegate_, CheckMediaAccessPermission(_, _));
261 EXPECT_CALL(response_callback_, OnCheckResponse(_)); 261 EXPECT_CALL(response_callback_, OnCheckResponse(_));
262 message_loop_.RunUntilIdle(); 262 message_loop_.RunUntilIdle();
263 } 263 }
264 264
265 } // content 265 } // content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698