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

Unified Diff: content/public/test/content_test_suite_base.h

Issue 2622693002: Cleanup of static lists of schemes & origins that are created at startup. (Closed)
Patch Set: merge Created 3 years, 11 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/public/common/url_utils.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/content_test_suite_base.h
diff --git a/content/public/test/content_test_suite_base.h b/content/public/test/content_test_suite_base.h
index 225e57a462ad81ab4025e36e249ac51214f8ad2b..59c1b7c1aa016726884b17f30b397a992d48b2b9 100644
--- a/content/public/test/content_test_suite_base.h
+++ b/content/public/test/content_test_suite_base.h
@@ -16,17 +16,16 @@ class ContentClient;
// initializes bits and pieces of content; see the implementation of Initialize
// for details.
class ContentTestSuiteBase : public base::TestSuite {
+ public:
+ // Registers content's schemes. During this call, the given content_client is
+ // registered temporarily so that it can provide additional schemes.
+ static void RegisterContentSchemes(ContentClient* content_client);
+
protected:
ContentTestSuiteBase(int argc, char** argv);
void Initialize() override;
- // The methods below are for unit test setup.
-
- // Registers content's schemes. During this call, the given content_client is
- // registered temporarily so that it can provide additional schemes.
- static void RegisterContentSchemes(ContentClient* content_client);
-
// Registers renderer/utility/gpu processes to run in-thread.
void RegisterInProcessThreads();
« no previous file with comments | « content/public/common/url_utils.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698