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

Side by Side Diff: remoting/host/resizing_host_observer_unittest.cc

Issue 19574007: Use a direct include of the message_loop header in remoting/. (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
« no previous file with comments | « remoting/host/resizing_host_observer.cc ('k') | remoting/host/setup/daemon_installer_win.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 5 #include <list>
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "remoting/host/desktop_resizer.h" 12 #include "remoting/host/desktop_resizer.h"
13 #include "remoting/host/resizing_host_observer.h" 13 #include "remoting/host/resizing_host_observer.h"
14 #include "remoting/host/screen_resolution.h" 14 #include "remoting/host/screen_resolution.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/skia/include/core/SkSize.h" 16 #include "third_party/skia/include/core/SkSize.h"
17 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 17 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
18 18
19 std::ostream& operator<<(std::ostream& os, const SkISize& size) { 19 std::ostream& operator<<(std::ostream& os, const SkISize& size) {
20 return os << size.width() << "x" << size.height(); 20 return os << size.width() << "x" << size.height();
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 FROM_HERE, 240 FROM_HERE,
241 run_loop.QuitClosure(), 241 run_loop.QuitClosure(),
242 base::TimeDelta::FromMilliseconds(2)); 242 base::TimeDelta::FromMilliseconds(2));
243 run_loop.Run(); 243 run_loop.Run();
244 244
245 // If the QuitClosure fired before the final resize, it's a test failure. 245 // If the QuitClosure fired before the final resize, it's a test failure.
246 EXPECT_EQ(desktop_resizer_->GetCurrentSize(), SkISize::Make(300, 300)); 246 EXPECT_EQ(desktop_resizer_->GetCurrentSize(), SkISize::Make(300, 300));
247 } 247 }
248 248
249 } // namespace remoting 249 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/resizing_host_observer.cc ('k') | remoting/host/setup/daemon_installer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698