| Index: chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| diff --git a/chrome/browser/browsing_data/passwords_counter_browsertest.cc b/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| index 4ef3fd9a0cf397271aa234dbcf5f371cbcef3feb..2d269027bb7efcca60908cd023008147831c205e 100644
|
| --- a/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| +++ b/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| @@ -87,10 +87,15 @@ class PasswordsCounterTest : public InProcessBrowserTest,
|
| return result_;
|
| }
|
|
|
| - void Callback(bool finished, BrowsingDataCounter::ResultInt count) {
|
| - finished_ = finished;
|
| - result_ = count;
|
| - if (run_loop_ && finished)
|
| + void Callback(scoped_ptr<BrowsingDataCounter::Result> result) {
|
| + finished_ = result->Finished();
|
| +
|
| + if (finished_) {
|
| + result_ = static_cast<BrowsingDataCounter::FinishedResult*>(
|
| + result.get())->Value();
|
| + }
|
| +
|
| + if (run_loop_ && finished_)
|
| run_loop_->Quit();
|
| }
|
|
|
|
|