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

Side by Side Diff: content/test/content_browser_test.h

Issue 8137012: Make an empty content browser test work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « content/shell/shell_main_delegate.cc ('k') | content/test/content_browser_test.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) 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_TEST_CONTENT_BROWSER_TEST_H_ 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_
6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ 6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/browser/mock_content_browser_client.h"
11 #include "content/test/browser_test_base.h" 10 #include "content/test/browser_test_base.h"
12 11
13 namespace content { 12 class ShellMainDelegate;
14 class ContentBrowserClient;
15 class ContentClient;
16 }
17 13
18 class ContentBrowserTest : public BrowserTestBase { 14 class ContentBrowserTest : public BrowserTestBase {
19 protected: 15 protected:
20 ContentBrowserTest(); 16 ContentBrowserTest();
21 virtual ~ContentBrowserTest(); 17 virtual ~ContentBrowserTest();
22 18
23 // testing::Test: 19 // testing::Test:
24 virtual void SetUp() OVERRIDE; 20 virtual void SetUp() OVERRIDE;
25 virtual void TearDown() OVERRIDE; 21 virtual void TearDown() OVERRIDE;
26 22
27 // BrowserTestBase: 23 // BrowserTestBase:
28 virtual void RunTestOnMainThreadLoop() OVERRIDE; 24 virtual void RunTestOnMainThreadLoop() OVERRIDE;
29 25
30 private: 26 private:
31 scoped_ptr<content::ContentClient> content_client_; 27 scoped_ptr<ShellMainDelegate> shell_main_delegate_;
32 scoped_ptr<content::ContentBrowserClient> content_browser_client_;
33 }; 28 };
34 29
35 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ 30 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698