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

Unified Diff: remoting/host/capturer_mac_unittest.cc

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of ref counting on user authenticator Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/capturer_mac.cc ('k') | remoting/host/capturer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_mac_unittest.cc
diff --git a/remoting/host/capturer_mac_unittest.cc b/remoting/host/capturer_mac_unittest.cc
index 4ca85f5eda42059fc57e042fa0c6b4f850477096..ca277c55d8a59b5699eb6dc5c21d85d1cedc062e 100644
--- a/remoting/host/capturer_mac_unittest.cc
+++ b/remoting/host/capturer_mac_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "remoting/host/capturer.h"
+
#include <ApplicationServices/ApplicationServices.h>
#include <iostream>
@@ -9,22 +11,21 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "remoting/base/types.h"
-#include "remoting/host/capturer_mac.h"
-#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class CapturerMacTest : public testing::Test {
protected:
virtual void SetUp() {
- capturer_.reset(new CapturerMac());
+ capturer_.reset(Capturer::Create());
}
void AddDirtyRect() {
rects_.insert(gfx::Rect(0, 0, 10, 10));
}
- scoped_ptr<CapturerMac> capturer_;
+ scoped_ptr<Capturer> capturer_;
InvalidRects rects_;
};
« no previous file with comments | « remoting/host/capturer_mac.cc ('k') | remoting/host/capturer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698