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

Unified Diff: content/browser/renderer_host/text_input_client_mac_unittest.mm

Issue 8679020: Move TextInputClientMacTest to content_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « chrome/chrome_tests.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/text_input_client_mac_unittest.mm
diff --git a/content/browser/renderer_host/text_input_client_mac_unittest.mm b/content/browser/renderer_host/text_input_client_mac_unittest.mm
index d3dd7be98526c8357cd5acea579148d6bcb4dde8..c306acd71130086bce8d7794ce41da85a710f5e5 100644
--- a/content/browser/renderer_host/text_input_client_mac_unittest.mm
+++ b/content/browser/renderer_host/text_input_client_mac_unittest.mm
@@ -7,12 +7,12 @@
#include "base/bind.h"
#include "base/message_loop.h"
#include "base/threading/thread.h"
-#include "chrome/test/base/testing_profile.h"
#include "content/browser/renderer_host/mock_render_process_host.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host.h"
#include "content/browser/renderer_host/text_input_client_message_filter.h"
#include "content/common/text_input_client_messages.h"
+#include "content/test//test_browser_context.h"
#include "ipc/ipc_test_sink.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gtest_mac.h"
@@ -28,9 +28,9 @@ class TextInputClientMacTest : public testing::Test {
public:
TextInputClientMacTest()
: message_loop_(MessageLoop::TYPE_UI),
- profile_(),
+ browser_context_(),
process_factory_(),
- widget_(process_factory_.CreateRenderProcessHost(&profile_), 1),
+ widget_(process_factory_.CreateRenderProcessHost(&browser_context_), 1),
thread_("TextInputClientMacTestThread") {}
// Accessor for the TextInputClientMac instance.
@@ -57,7 +57,7 @@ class TextInputClientMacTest : public testing::Test {
friend class ScopedTestingThread;
MessageLoop message_loop_;
- TestingProfile profile_;
+ TestBrowserContext browser_context_;
// Gets deleted when the last RWH in the "process" gets destroyed.
MockRenderProcessHostFactory process_factory_;
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698