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

Side by Side Diff: webrtc/modules/desktop_capture/screen_capturer_integration_test.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <string.h> 11 #include <string.h>
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <initializer_list> 14 #include <initializer_list>
15 #include <iostream> // TODO(zijiehe): Remove once flaky has been resolved. 15 #include <iostream> // TODO(zijiehe): Remove once flaky has been resolved.
16 #include <memory> 16 #include <memory>
17 #include <utility> 17 #include <utility>
18 18
19 // TODO(zijiehe): Remove once flaky has been resolved. 19 // TODO(zijiehe): Remove once flaky has been resolved.
20 #include "webrtc/base/base64.h"
21 #include "webrtc/base/checks.h"
22 #include "webrtc/base/constructormagic.h"
23 #include "webrtc/base/logging.h"
24 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
20 #include "webrtc/modules/desktop_capture/desktop_capture_options.h" 25 #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
21 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
22 #include "webrtc/modules/desktop_capture/desktop_frame.h" 26 #include "webrtc/modules/desktop_capture/desktop_frame.h"
23 #include "webrtc/modules/desktop_capture/desktop_region.h" 27 #include "webrtc/modules/desktop_capture/desktop_region.h"
24 #include "webrtc/modules/desktop_capture/mock_desktop_capturer_callback.h" 28 #include "webrtc/modules/desktop_capture/mock_desktop_capturer_callback.h"
25 #include "webrtc/modules/desktop_capture/rgba_color.h" 29 #include "webrtc/modules/desktop_capture/rgba_color.h"
26 #include "webrtc/modules/desktop_capture/screen_drawer.h" 30 #include "webrtc/modules/desktop_capture/screen_drawer.h"
27 #include "webrtc/rtc_base/base64.h"
28 #include "webrtc/rtc_base/checks.h"
29 #include "webrtc/rtc_base/constructormagic.h"
30 #include "webrtc/rtc_base/logging.h"
31 #include "webrtc/test/gmock.h" 31 #include "webrtc/test/gmock.h"
32 #include "webrtc/test/gtest.h" 32 #include "webrtc/test/gtest.h"
33 33
34 #if defined(WEBRTC_WIN) 34 #if defined(WEBRTC_WIN)
35 #include "webrtc/base/win32.h"
35 #include "webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h" 36 #include "webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h"
36 #include "webrtc/rtc_base/win32.h"
37 #endif // defined(WEBRTC_WIN) 37 #endif // defined(WEBRTC_WIN)
38 38
39 using ::testing::_; 39 using ::testing::_;
40 40
41 namespace webrtc { 41 namespace webrtc {
42 42
43 namespace { 43 namespace {
44 44
45 ACTION_P2(SaveCaptureResult, result, dest) { 45 ACTION_P2(SaveCaptureResult, result, dest) {
46 *result = arg0; 46 *result = arg0;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 } 369 }
370 // Even DirectX capturer is not supported in current system, we should be able 370 // Even DirectX capturer is not supported in current system, we should be able
371 // to select a usable capturer. 371 // to select a usable capturer.
372 MaybeCreateDirectxCapturer(); 372 MaybeCreateDirectxCapturer();
373 TestCaptureUpdatedRegion(); 373 TestCaptureUpdatedRegion();
374 } 374 }
375 375
376 #endif // defined(WEBRTC_WIN) 376 #endif // defined(WEBRTC_WIN)
377 377
378 } // namespace webrtc 378 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer_helper.h ('k') | webrtc/modules/desktop_capture/screen_capturer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698