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

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

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix mac Created 6 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) 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 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ 6 #define CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/test/browser_test.h" 9 #include "content/public/test/browser_test.h"
10 #include "content/public/test/browser_test_base.h" 10 #include "content/public/test/browser_test_base.h"
11 11
12 class GURL;
13
14 namespace content { 12 namespace content {
15 class ContentRendererClient;
16 class Shell; 13 class Shell;
17 class ShellMainDelegate; 14 class ShellMainDelegate;
18 15
16 // Base class for browser tests which use content_shell.
19 class ContentBrowserTest : public BrowserTestBase { 17 class ContentBrowserTest : public BrowserTestBase {
20 protected: 18 protected:
21 ContentBrowserTest(); 19 ContentBrowserTest();
22 virtual ~ContentBrowserTest(); 20 virtual ~ContentBrowserTest();
23 21
24 // testing::Test: 22 // testing::Test:
25 virtual void SetUp() OVERRIDE; 23 virtual void SetUp() OVERRIDE;
26 virtual void TearDown() OVERRIDE; 24 virtual void TearDown() OVERRIDE;
27 25
28 // BrowserTestBase: 26 // BrowserTestBase:
(...skipping 16 matching lines...) Expand all
45 43
46 #if defined(OS_ANDROID) 44 #if defined(OS_ANDROID)
47 // For all other platforms, this is done automatically when calling into 45 // For all other platforms, this is done automatically when calling into
48 // ContentMain. For Android we set things up manually. 46 // ContentMain. For Android we set things up manually.
49 scoped_ptr<ShellMainDelegate> shell_main_delegate_; 47 scoped_ptr<ShellMainDelegate> shell_main_delegate_;
50 #endif 48 #endif
51 }; 49 };
52 50
53 } // namespace content 51 } // namespace content
54 52
55 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ 53 #endif // CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698