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

Unified Diff: chrome/test/base/in_process_browser_test.h

Issue 1996863002: media: Use bundled Widevine CDM in encrypted media browser tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/test/base/in_process_browser_test.h
diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h
index 3afebd81fe3484941fca3cf8f1508c71398d8e6c..f7b589385691e247c305b78f94b7b4b3cead4915 100644
--- a/chrome/test/base/in_process_browser_test.h
+++ b/chrome/test/base/in_process_browser_test.h
@@ -212,6 +212,8 @@ class InProcessBrowserTest : public content::BrowserTestBase {
multi_desktop_test_ = multi_desktop_test;
}
+ void enable_component_update() { enable_component_update_ = true; }
+
// Runs accessibility checks and sets |error_message| if it fails.
bool RunAccessibilityChecks(std::string* error_message);
@@ -248,6 +250,8 @@ class InProcessBrowserTest : public content::BrowserTestBase {
// This is reset for every test case.
bool run_accessibility_checks_for_test_case_;
+ bool enable_component_update_;
+
#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
std::unique_ptr<ScopedBundleSwizzlerMac> bundle_swizzler_;

Powered by Google App Engine
This is Rietveld 408576698