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

Unified Diff: chrome/browser/budget_service/budget_database_unittest.cc

Issue 2522553003: Mojo C++ bindings: switch WebKit mojom targets to use STL/WTF types. (Closed)
Patch Set: . Created 4 years, 1 month 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/budget_service/budget_database.cc ('k') | chrome/browser/budget_service/budget_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/budget_service/budget_database_unittest.cc
diff --git a/chrome/browser/budget_service/budget_database_unittest.cc b/chrome/browser/budget_service/budget_database_unittest.cc
index 3487a1fef1b4790b0d894832fce528cc2e878750..ef7eb9608cc07d070521b301298ed6fe3e9b9d8d 100644
--- a/chrome/browser/budget_service/budget_database_unittest.cc
+++ b/chrome/browser/budget_service/budget_database_unittest.cc
@@ -60,9 +60,9 @@ class BudgetDatabaseTest : public ::testing::Test {
void GetBudgetDetailsComplete(
base::Closure run_loop_closure,
blink::mojom::BudgetServiceErrorType error,
- mojo::Array<blink::mojom::BudgetStatePtr> predictions) {
+ std::vector<blink::mojom::BudgetStatePtr> predictions) {
success_ = (error == blink::mojom::BudgetServiceErrorType::NONE);
- prediction_.Swap(&predictions);
+ prediction_.swap(predictions);
run_loop_closure.Run();
}
@@ -93,7 +93,7 @@ class BudgetDatabaseTest : public ::testing::Test {
protected:
base::HistogramTester* GetHistogramTester() { return &histogram_tester_; }
bool success_;
- mojo::Array<blink::mojom::BudgetStatePtr> prediction_;
+ std::vector<blink::mojom::BudgetStatePtr> prediction_;
private:
content::TestBrowserThreadBundle thread_bundle_;
« no previous file with comments | « chrome/browser/budget_service/budget_database.cc ('k') | chrome/browser/budget_service/budget_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698