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

Unified Diff: chrome/browser/budget_service/budget_manager.h

Issue 2524533002: Added UMA for usage of BudgetAPI calls. (Closed)
Patch Set: Rebase and switch to using STL types to match mojo changes. Created 4 years 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 | « no previous file | 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_manager.h
diff --git a/chrome/browser/budget_service/budget_manager.h b/chrome/browser/budget_service/budget_manager.h
index 99fa4fe2c9dea724a01c58b8980df6b1d63c3036..0f09631f7e8e5d253fb9ae0a2cb7209f6f90def1 100644
--- a/chrome/browser/budget_service/budget_manager.h
+++ b/chrome/browser/budget_service/budget_manager.h
@@ -63,14 +63,14 @@ class BudgetManager : public KeyedService {
private:
friend class BudgetManagerTest;
- // Called as a callback from BudgetDatabase after it made a SpendBudget
- // decision.
+ void DidGetBudget(const GetBudgetCallback& callback,
+ blink::mojom::BudgetServiceErrorType error,
+ std::vector<blink::mojom::BudgetStatePtr> budget);
+
void DidConsume(const ConsumeCallback& callback,
blink::mojom::BudgetServiceErrorType error,
bool success);
- // Called as a callback from BudgetDatabase after it has made a reserve
- // decision.
void DidReserve(const url::Origin& origin,
const ReserveCallback& callback,
blink::mojom::BudgetServiceErrorType error,
« no previous file with comments | « no previous file | chrome/browser/budget_service/budget_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698