The besties hug in 2010. (Manuel Balce Ceneta/AP)

To paraphrase Hillary Clinton this week: President Obama should rethink his trade deals and listen to my buddy, Nancy Pelosi.

Those weren't her exact words, but it was the sentiment Clinton got across as she undercut Obama's push for his free trade agreements. "The president should listen to and work with his allies in Congress, starting with Nancy Pelosi," Clinton said.

Clinton and Pelosi linking arms to push for changes to Obama's high-profile trade deal wasn't the only time the two Democratic leaders had each other's backs.

There have been some bumps along the way, sure, but here's a history of the Hillary-Pelosi lady-mance (is that a thing?)  which appears stronger than ever these days.

Things were kind of awkward in the heat of 2008

During the 2008 Democratic primary, Pelosi carefully avoided endorsing either Obama or Clinton. But some read the tea leaves and thought she was undermining Clinton by urging superdelegates (members of Congress, in this case) to vote the will of the voters in their states. At the time, that was basically enough to get Obama over the top in the tight primary; Clinton needed those superdelegates to vote for her in droves.

The party would be damaged "if superdelegates overturn what happened in the elections," Pelosi said at the time.

Burn, said political insiders.

After the campaign, the two made up

After she lost the nomination, Clinton had to return to the Senate, and Pelosi did her best to make her feel welcome.

“She has emerged from this campaign as the most respected political figure in America," Pelosi said at a news conference on the Capitol's House of Representatives side (the location will become important in a minute).

In return, Sen. Clinton kind-of-complimented Pelosi, then the House speaker:

“Madam Speaker, it’s wonderful to be here in the body that can actually pass legislation.”

Fast forward to 2013, and Pelosi is Clinton's BF&BF

That stands for "Best Friend and Biggest Fan." (Repeat it often; I'm hoping it catches on.) Anyways, Pelosi was an early cheerleader for Clinton to run for president. President Hillary Clinton would "be such a lift for our country," Pelosi said at a speech at the Clinton School in Arkansas.

She continued:

"I pray that Hillary Clinton decides to run for president of the United States. ... Nobody has been first lady and senator and now secretary of state. Putting everything aside that she is a woman, she'd be the best-qualified person that we've seen."

Awww ….

In 2014, Pelosi really liked Clinton

For much of 2014, nearly every time Pelosi mentioned Clinton, it was to illustrate Clinton's ground-breaking life as a woman in politics. She even hosted a women's power luncheon in San Francisco for Clinton (besties will do that). There, Pelosi said:

"I am frequently introduced as the highest-ranking woman in political office in our country. I’d like to give up that title and elect a Democratic woman for president of the United States. And soon."

That same year, when Clinton said at a women's conference that there's a double standard for women in power, Pelosi had her back:

"If Hillary Clinton thinks there is a double standard -- she's been in the main event, and that is a presidential race -- then I respect that," Pelosi told CNN's Candy Crowley a few days later.

And finally, Pelosi's comments right after Democrats got crushed in the November midterms aren't specifically about Clinton, but they're perhaps enlightening to the two women's relationship:

"When we won the House, and that was largely an initiative that I started around 2000 to take us to a place where we would win the House, that was a big thing. I was never on the front of Time magazine, even though I was the first woman (speaker). Wasn't that a curiosity? Republicans win, John Boehner is on the front of Time magazine. Mitch McConnell wins, he's on the front of Time magazine. Isn't there a pattern here? But as a woman, it's like, is there a message here, is it something that we're missing."

It's 2015, and there's no question about Pelosi's and Clinton's friendship

This year, Pelosi has pushed hard for Clinton to enter the race. And after Clinton did declare her candidacy, Pelosi began defending some of Clinton's more controversial past positions.

Let's start with a January interview Pelosi gave to MSNBC's Andrea Mitchell, where she said:

"If Secretary Clinton runs, I believe that she will win and she will be one of the best-prepared people to enter the White House in a long time, in terms of her experience and her knowledge."

She added a caveat: "[But] that doesn’t mean that the party is devoid of other voices getting ready for what comes beyond.

But Pelosi was sure to keep her allegiances clear: "And to help President Clinton, should that be the case, be a great president."

Clinton, in return, told Emily's List supporters in March that Nancy Pelosi is "leading the way" on women's issues.

"Don't you love seeing Nancy Pelosi stand up against efforts to play politics with our security? Nobody fights harder for middle class families day in and day out than Nancy does."

A few days later, Pelosi stood up to Republicans in Clinton's defense. She said Republicans' eighth investigation into Clinton and the deadly 2012 attacks on U.S. diplomatic compound in Benghazi, Libya, was a step too far:

"I have a concern — I have a concern that this isn't really about e-mails. It's about a partisan investigation by a select committee that has spent millions of dollars [and] produced nothing. And I think we're going to just see the ongoing attempt to investigate Hillary Clinton, whatever the subject, whether it's her e-mails or it's her hair or whatever it happens to be."

Finally, Pelosi got her wish. Hillary Clinton announced April 12 in a video that she was running for president. A few days later, Pelosi said she didn't think Clinton's vote for the Iraq War while in the Senate would be a major issue (as it was in the 2008 campaign):

"That was then; this is now. We go forward. And I do not think that the vote that Hillary Clinton took on that, nor did I think the vote that John Kerry took on it disqualified him from being a candidate for president."

But also that month, Pelosi said she thought it was okay that Sen. Bernie Sanders (I-Vt.) was challenging her buddy Clinton for the nomination.

"It's healthy for a party to have an exchange of ideas, to have a bench. I don't think that anybody who's running for president should fear having someone else run for president, so [voters] can engage in the marketplace of ideas, which is what an election is all about."

Never fear, Hillary. It's pretty clear from the sum of what Pelosi's said so far that she thinks you're awesome. Well end with this from Pelosi:

"[Clinton is] a very qualified woman to be president of the United States -- not just that she is a woman, but a very qualified one. When I became even whip, certainly leader, and for sure speaker, the response was so overwhelming from people saying how encouraged they were that we had broken not the glass ceiling -- that’s nothing -- we’re talk about the marble ceiling …"