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

Unified Diff: chrome/browser/extensions/browsertest_util.h

Issue 2495123003: Continue attempts to reinstall corrupt policy extensions across restarts (Closed)
Patch Set: cleanup Created 4 years, 1 month 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/browser/extensions/browsertest_util.h
diff --git a/chrome/browser/extensions/browsertest_util.h b/chrome/browser/extensions/browsertest_util.h
index 435b2b681a11e70e1b93066c6f5525403e8692bf..3b87a2573185de83e668d4294c1f887d69301eb0 100644
--- a/chrome/browser/extensions/browsertest_util.h
+++ b/chrome/browser/extensions/browsertest_util.h
@@ -28,6 +28,12 @@ bool ExecuteScriptInBackgroundPageNoWait(Profile* profile,
const std::string& extension_id,
const std::string& script);
+// On chromeos, the extension cache directory must be initialized before
+// extensions can be installed in some situations (e.g. policy force installs
+// via update urls). The chromeos device setup scripts take care of this in
+// actual production devices, but some tests need to do it manually.
+void CreateAndInitializeLocalCache();
+
} // namespace browsertest_util
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698