Index: chrome/browser/extensions/api/identity/identity_apitest.cc |
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc |
index a652c4b0f98f0669b497beb2d866b1c36352ea70..d38b0588b455e4ba0be80d9780f1d701468df29c 100644 |
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc |
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc |
@@ -1194,7 +1194,7 @@ IN_PROC_BROWSER_TEST_F(GetAuthTokenFunctionTest, InteractiveQueueShutdown) { |
EXPECT_FALSE(func->scope_ui_shown()); |
// After the request is canceled, the function will complete. |
- func->OnShutdown(); |
+ func->Shutdown(); |
EXPECT_EQ(std::string(errors::kCanceled), WaitForError(func.get())); |
EXPECT_FALSE(func->login_ui_shown()); |
EXPECT_FALSE(func->scope_ui_shown()); |
@@ -1212,7 +1212,7 @@ IN_PROC_BROWSER_TEST_F(GetAuthTokenFunctionTest, NoninteractiveShutdown) { |
RunFunctionAsync(func.get(), "[{\"interactive\": false}]"); |
// After the request is canceled, the function will complete. |
- func->OnShutdown(); |
+ func->Shutdown(); |
EXPECT_EQ(std::string(errors::kCanceled), WaitForError(func.get())); |
} |