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

Unified Diff: content/test/content_test_suite_base.h

Issue 10383298: Move RegisterContentSchemes from public url_constants into non-public url_schemes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: allow content/common/savable_url_schemes.h to be included by url_constants.cc Created 8 years, 7 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/content_test_suite.cc ('k') | content/test/content_test_suite_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_test_suite_base.h
diff --git a/content/test/content_test_suite_base.h b/content/test/content_test_suite_base.h
new file mode 100644
index 0000000000000000000000000000000000000000..31a9c8ba902a861796f4247614570df584801bba
--- /dev/null
+++ b/content/test/content_test_suite_base.h
@@ -0,0 +1,35 @@
+// 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_TEST_SUITE_BASE_H_
+#define CONTENT_TEST_CONTENT_TEST_SUITE_BASE_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "base/test/test_suite.h"
+
+namespace content {
+
+class ContentClient;
+
+// A basis upon which test suites that use content can be built. This suite
+// initializes bits and pieces of content; see the implementation of Initialize
+// for details.
+class ContentTestSuiteBase : public base::TestSuite {
+ protected:
+ ContentTestSuiteBase(int argc, char** argv);
+
+ virtual void Initialize() OVERRIDE;
+
+ // Creates a ContentClient for use during test suite initialization.
+ virtual ContentClient* CreateClientForInitialization() = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBase);
+};
+
+} // namespace content
+
+#endif // CONTENT_TEST_CONTENT_TEST_SUITE_BASE_H_
« no previous file with comments | « content/test/content_test_suite.cc ('k') | content/test/content_test_suite_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698