SAN JOSE — Chris Wondolowski will have a chance to tie or break the all-time MLS scoring record next year if he fails to get it done in the season finale next Sunday in Seattle.

Two sources close to the Danville native said the Quakes picked up his option year earlier this season ensuring Wondolowski, 35, the opportunity to make history with his hometown team. Wondolowski has 144 goals, one short of Landon Donovan on the all-time list.

San Jose has yet to announce the decision and Wondolowski declined to comment on the matter Sunday. But sources said team officials told their captain he would return in 2019.

Wondolowski, whose 2018 salary was $800,000, lives in the East Bay where he grew up and wants to stay with the team he followed as a kid.

Wondolowski failed to score in Sunday’s game at Avaya Stadium despite taking eight shots in a scoreless draw against the Colorado Rapids in front of an announced crowd of 17,474 spectators.

The scoreline was a fitting end to the home schedule for the Quakes (4-20-9, 21 points), who are already assured of the worst record in franchise history and the fewest points in MLS this season. San Jose won just twice at Avaya this year, and once since March 3.

“Colossal disappointment,” Wondolowksi said. “Whether I get the goals or not, that was the worst year of my soccer-playing career.”

Tim Howard made four saves for the Rapids (7-19-7, 28 points), who were outshot 20-6.

Wondolowksi’s pursuit of the record, coined “Wondo Watch,” has been one of the only bright spots in a dismal season for the Quakes, and his teammates made a concerted effort to find him on Sunday.

“We’re all trying to be the person to give him that assist and be able to say I gave him the pass to get the record or tie the record,” midfielder Eric Calvillo said.

But while Wondolowski had some space for long-range shots, he didn’t have any room inside the box. His best chance, a spinning attempt from close range in the 85th minute, was blocked by Rapids fullback Kortne Ford.

The Quakes also wanted a hand ball on Ford in the 35th minute, which would have set up a penalty shot for Wondolowski, but the referee allowed play to continue.

“We don’t get those (calls),” Wondolowski said.

Instead, it was other members of the club who got personal milestones.

JT Marcinkowski, making his fourth career start, made two saves to post his first shutout. Calvillo, a 20-year-old midfielder from Southern California, made his first career start and had a game-high two shots on goal. And 16-year-old Gilbert Fuentes, a Tracy native, became the youngest player in franchise history to appear in a league game when he entered in the 89th minute.

It was also the first point for interim coach Steve Ralston, who is 0-4-1 since Mikael Stahre was fired in mid-September. The Quakes announced two weeks ago that Matias Almeyda will be the coach next season.