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

Unified Diff: content/test/content_browser_test.h

Issue 8036044: Add (not yet working) content_browsertests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/test/browser_test_base.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 0)
+++ content/test/content_browser_test.h (revision 0)
@@ -0,0 +1,35 @@
+// Copyright (c) 2011 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_
+#pragma once
+
+#include "base/memory/scoped_ptr.h"
+#include "content/browser/mock_content_browser_client.h"
+#include "content/test/browser_test_base.h"
+
+namespace content {
+class ContentBrowserClient;
+class ContentClient;
+}
+
+class ContentBrowserTest : public BrowserTestBase {
+ protected:
+ ContentBrowserTest();
+ virtual ~ContentBrowserTest();
+
+ // testing::Test:
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
+
+ // BrowserTestBase:
+ virtual void RunTestOnMainThreadLoop() OVERRIDE;
+
+ private:
+ scoped_ptr<content::ContentClient> content_client_;
+ scoped_ptr<content::ContentBrowserClient> content_browser_client_;
+};
+
+#endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_
Property changes on: content\test\content_browser_test.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/test/browser_test_base.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698