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

Side by Side Diff: device/capture/content/video_capture_oracle_unittest.cc

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « device/capture/content/video_capture_oracle.cc ('k') | device/capture/device_monitor_mac.h » ('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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 "media/capture/content/video_capture_oracle.h" 5 #include "device/capture/content/video_capture_oracle.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 namespace { 12 namespace {
13 13
14 base::TimeTicks InitialTestTimeTicks() { 14 base::TimeTicks InitialTestTimeTicks() {
15 return base::TimeTicks() + base::TimeDelta::FromSeconds(1); 15 return base::TimeTicks() + base::TimeDelta::FromSeconds(1);
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 ASSERT_TRUE(oracle.ObserveEventAndDecideCapture( 610 ASSERT_TRUE(oracle.ObserveEventAndDecideCapture(
611 VideoCaptureOracle::kCompositorUpdate, gfx::Rect(), t)); 611 VideoCaptureOracle::kCompositorUpdate, gfx::Rect(), t));
612 ASSERT_EQ(Get720pSize(), oracle.capture_size()); 612 ASSERT_EQ(Get720pSize(), oracle.capture_size());
613 base::TimeTicks ignored; 613 base::TimeTicks ignored;
614 ASSERT_TRUE( 614 ASSERT_TRUE(
615 oracle.CompleteCapture(oracle.RecordCapture(2.0), true, &ignored)); 615 oracle.CompleteCapture(oracle.RecordCapture(2.0), true, &ignored));
616 } 616 }
617 } 617 }
618 618
619 } // namespace media 619 } // namespace media
OLDNEW
« no previous file with comments | « device/capture/content/video_capture_oracle.cc ('k') | device/capture/device_monitor_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698