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

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: iteration 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
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..b64a6509cca27d529ef382bf1a2969ba13e88807 100644
--- a/content/public/test/content_test_suite_base.h
+++ b/content/public/test/content_test_suite_base.h
@@ -25,7 +25,13 @@ class ContentTestSuiteBase : public base::TestSuite {
// Creates a ContentClient for use during test suite initialization.
virtual ContentClient* CreateClientForInitialization() = 0;
+ // Prevent Initialize() to load external libraries to the process.
+ void DisableLoadingExternalLibraries() {
jam 2012/07/24 15:32:19 nit: since you're inlining this, should be void s
glotov 2012/07/24 16:23:41 Done.
+ external_libraries_enabled_ = false;
+ }
+
private:
+ bool external_libraries_enabled_;
DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBase);
};

Powered by Google App Engine
This is Rietveld 408576698