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

Unified Diff: chrome/browser/extensions/extension_webrequest_api.cc

Issue 8491033: Extension Settings API: throttle the API in the same way that the Bookmarks API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 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
Index: chrome/browser/extensions/extension_webrequest_api.cc
diff --git a/chrome/browser/extensions/extension_webrequest_api.cc b/chrome/browser/extensions/extension_webrequest_api.cc
index e6038ed778fde7adf1e5e8684d4f87cca746eecf..08b2a9bcdfaf5a3c124d49ee90d58fe6c623ebea 100644
--- a/chrome/browser/extensions/extension_webrequest_api.cc
+++ b/chrome/browser/extensions/extension_webrequest_api.cc
@@ -1602,7 +1602,7 @@ bool WebRequestHandlerBehaviorChanged::RunImpl() {
}
void WebRequestHandlerBehaviorChanged::GetQuotaLimitHeuristics(
- std::list<QuotaLimitHeuristic*>* heuristics) const {
+ QuotaLimitHeuristics* heuristics) const {
QuotaLimitHeuristic::Config config = {
20, // Refill 20 tokens per interval.
base::TimeDelta::FromMinutes(10) // 10 minutes refill interval.
« no previous file with comments | « chrome/browser/extensions/extension_webrequest_api.h ('k') | chrome/browser/extensions/settings/settings_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698