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

Unified Diff: chrome/browser/apps/app_browsertest_util.cc

Issue 2348723002: [Extensions] Remove UIThreadExtensionFunction::DelegateForTests (Closed)
Patch Set: lazyboy's Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest_util.cc
diff --git a/chrome/browser/apps/app_browsertest_util.cc b/chrome/browser/apps/app_browsertest_util.cc
index 86b2c8ddb531bc409d5121405411b168a47cc454..7c8c8da48209d2f85a52834b5b04ecda7a9beaa2 100644
--- a/chrome/browser/apps/app_browsertest_util.cc
+++ b/chrome/browser/apps/app_browsertest_util.cc
@@ -179,7 +179,7 @@ bool PlatformAppBrowserTest::RunGetWindowFunctionForExtension(
base::StringPrintf("[%u]", window_id),
browser(),
utils::NONE);
- return function->GetResultList() != NULL;
+ return *function->response_type() == ExtensionFunction::SUCCEEDED;
}
size_t PlatformAppBrowserTest::GetAppWindowCount() {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698