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

Side by Side Diff: chrome/browser/media/native_desktop_media_list_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "chrome/browser/media/native_desktop_media_list.h" 5 #include "chrome/browser/media/native_desktop_media_list.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9 #include <string.h>
10
7 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
9 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
10 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
11 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
12 #include "chrome/browser/media/desktop_media_list_observer.h" 17 #include "chrome/browser/media/desktop_media_list_observer.h"
13 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
14 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 21 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
17 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" 22 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // Swap the two windows. 350 // Swap the two windows.
346 webrtc::WindowCapturer::Window temp = list[0]; 351 webrtc::WindowCapturer::Window temp = list[0];
347 list[0] = list[1]; 352 list[0] = list[1];
348 list[1] = temp; 353 list[1] = temp;
349 window_capturer_->SetWindowList(list); 354 window_capturer_->SetWindowList(list);
350 355
351 message_loop_.Run(); 356 message_loop_.Run();
352 } 357 }
353 358
354 } // namespace 359 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698