Chromium Code Reviews| 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); |
| }; |