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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.h

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/chrome_content_browser_client.h"
14 #include "content/browser/renderer_host/mock_render_process_host.h" 13 #include "content/browser/renderer_host/mock_render_process_host.h"
15 #include "content/browser/renderer_host/render_view_host.h" 14 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/browser/renderer_host/render_view_host_factory.h" 15 #include "content/browser/renderer_host/render_view_host_factory.h"
17 #include "content/browser/renderer_host/render_widget_host_view.h" 16 #include "content/browser/renderer_host/render_widget_host_view.h"
18 #include "content/common/page_transition_types.h" 17 #include "content/common/page_transition_types.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
20 19
21 namespace gfx { 20 namespace gfx {
22 class Rect; 21 class Rect;
23 } 22 }
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // This profile will be created in SetUp if it has not already been created. 295 // This profile will be created in SetUp if it has not already been created.
297 // This allows tests to override the profile if they so choose in their own 296 // This allows tests to override the profile if they so choose in their own
298 // SetUp function before calling the base class's (us) SetUp(). 297 // SetUp function before calling the base class's (us) SetUp().
299 scoped_ptr<TestingProfile> profile_; 298 scoped_ptr<TestingProfile> profile_;
300 299
301 MessageLoopForUI message_loop_; 300 MessageLoopForUI message_loop_;
302 301
303 MockRenderProcessHostFactory rph_factory_; 302 MockRenderProcessHostFactory rph_factory_;
304 TestRenderViewHostFactory rvh_factory_; 303 TestRenderViewHostFactory rvh_factory_;
305 304
306 chrome::ChromeContentBrowserClient browser_client_;
307 scoped_ptr<TestTabContents> contents_; 305 scoped_ptr<TestTabContents> contents_;
308 306
309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 307 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
310 }; 308 };
311 309
312 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 310 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698