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

Unified Diff: content/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: remove other files Created 6 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 | « content/renderer/savable_resources_browsertest.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test.h
===================================================================
--- content/test/content_browser_test.h (revision 259922)
+++ content/test/content_browser_test.h (working copy)
@@ -1,55 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_
-#define CONTENT_TEST_CONTENT_BROWSER_TEST_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "content/public/test/browser_test.h"
-#include "content/public/test/browser_test_base.h"
-
-class GURL;
-
-namespace content {
-class ContentRendererClient;
-class Shell;
-class ShellMainDelegate;
-
-class ContentBrowserTest : public BrowserTestBase {
- protected:
- ContentBrowserTest();
- virtual ~ContentBrowserTest();
-
- // testing::Test:
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
-
- // BrowserTestBase:
- virtual void RunTestOnMainThreadLoop() OVERRIDE;
-
- protected:
- // Creates a new window and loads about:blank.
- Shell* CreateBrowser();
-
- // Creates an off-the-record window and loads about:blank.
- Shell* CreateOffTheRecordBrowser();
-
- // Returns the window for the test.
- Shell* shell() const { return shell_; }
-
- private:
- Shell* shell_;
-
- bool setup_called_;
-
-#if defined(OS_ANDROID)
- // For all other platforms, this is done automatically when calling into
- // ContentMain. For Android we set things up manually.
- scoped_ptr<ShellMainDelegate> shell_main_delegate_;
-#endif
-};
-
-} // namespace content
-
-#endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_
« no previous file with comments | « content/renderer/savable_resources_browsertest.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698