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

Unified Diff: extensions/browser/api_test_utils.h

Issue 1968083004: Implement the private API for quick unlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address comments Created 4 years, 6 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: extensions/browser/api_test_utils.h
diff --git a/extensions/browser/api_test_utils.h b/extensions/browser/api_test_utils.h
index 81d57a801fc6d4a4f3ea962c71814c31d92c0663..ef75b7fb815b59fd202e8ae8ce24b34aafd0a4ab 100644
--- a/extensions/browser/api_test_utils.h
+++ b/extensions/browser/api_test_utils.h
@@ -76,6 +76,12 @@ base::Value* RunFunctionWithDelegateAndReturnSingleResult(
content::BrowserContext* context,
std::unique_ptr<ExtensionFunctionDispatcher> dispatcher,
RunFunctionFlags flags);
+base::Value* RunFunctionWithDelegateAndReturnSingleResult(
+ UIThreadExtensionFunction* function,
+ std::unique_ptr<base::ListValue> args,
+ content::BrowserContext* context,
+ std::unique_ptr<ExtensionFunctionDispatcher> dispatcher,
+ RunFunctionFlags flags);
// RunFunctionWithDelegateAndReturnSingleResult, except with a NULL
// implementation of the Delegate.

Powered by Google App Engine
This is Rietveld 408576698