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

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

Issue 10786038: Prevent loading libffmpegsumo.so to python (autotests) process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 5 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 | « chrome/test/base/chrome_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/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 7d011a6f8d39bc243a238caa2ec7bf8dea446f55..7887cc3dd0d47d35173ec71a11f674ea28af4295 100644
--- a/content/public/test/content_test_suite_base.h
+++ b/content/public/test/content_test_suite_base.h
@@ -25,7 +25,14 @@ class ContentTestSuiteBase : public base::TestSuite {
// Creates a ContentClient for use during test suite initialization.
virtual ContentClient* CreateClientForInitialization() = 0;
+ // If set to false, prevents Initialize() to load external libraries
+ // to the process. By default loading is enabled.
+ void set_external_libraries_enabled(bool val) {
+ external_libraries_enabled_ = val;
+ }
+
private:
+ bool external_libraries_enabled_;
DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBase);
};
« no previous file with comments | « chrome/test/base/chrome_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