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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_test.cc

Issue 2398793002: [Extensions] Convert some ChromeSyncExtensionFunctions (Closed)
Patch Set: Antony's Created 4 years, 2 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 | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/tabs/tabs_test.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_test.cc b/chrome/browser/extensions/api/tabs/tabs_test.cc
index 75d35851337acb96189ef15756470a2c04c15feb..13f9547378f6a1286679e940e8e0dbcf94affce8 100644
--- a/chrome/browser/extensions/api/tabs/tabs_test.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_test.cc
@@ -1071,7 +1071,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionWindowCreateTest, AcceptState) {
int window_id = GetWindowId(result.get());
std::string error;
Browser* new_window = ExtensionTabUtil::GetBrowserFromWindowID(
- function.get(), window_id, &error);
+ ChromeExtensionFunctionDetails(function.get()), window_id, &error);
EXPECT_TRUE(error.empty());
#if !defined(OS_LINUX) || defined(OS_CHROMEOS)
// DesktopWindowTreeHostX11::IsMinimized() relies on an asynchronous update
@@ -1085,8 +1085,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionWindowCreateTest, AcceptState) {
function.get(), "[{\"state\": \"fullscreen\"}]", browser(),
utils::INCLUDE_INCOGNITO)));
window_id = GetWindowId(result.get());
- new_window = ExtensionTabUtil::GetBrowserFromWindowID(function.get(),
- window_id, &error);
+ new_window = ExtensionTabUtil::GetBrowserFromWindowID(
+ ChromeExtensionFunctionDetails(function.get()), window_id, &error);
EXPECT_TRUE(error.empty());
EXPECT_TRUE(new_window->window()->IsFullscreen());
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698